About #EECC22
#EECC22 is a medium, vivid amber with a hue angle of 50°. It belongs to the yellow family and reads as a warm color. In the RGB model red is the strongest channel at 238 (93%) and blue the weakest at 34 (13%). Colors like this are typically used for buttons, links, badges and other accents that need to stand out.
- It can be written in 3-digit shorthand as
#ec2.
Color conversions
| HEX | #EECC22 |
|---|---|
| Short HEX | #EC2 |
| RGB | rgb(238, 204, 34) |
| RGB percent | rgb(93.3%, 80%, 13.3%) |
| HSL | hsl(50, 86%, 53%) |
| HSV / HSB | hsv(50, 86%, 93%) |
| CMYK | cmyk(0%, 14%, 86%, 7%) |
| CIELAB (D65) | lab(82.6 -3.2 78.7) |
| Decimal | 15649826 |
| Binary | 11101110 11001100 00100010 |
HEX EE CC 22 → 238, 204, 34 (each pair is a base-16 number: E×16 + E = 238)
Color harmonies
Complementary
Analogous
Triadic
Split-complementary
Tetradic
Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.
Tints and shades of #EECC22
Tints (mixed with white)
Shades (mixed with black)
Tones (mixed with gray)
Contrast and accessibility
| Text on #EECC22 | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| White text | 1.58:1 | Fail | Fail | Fail | Fail |
| Black text | 13.30:1 | Pass | Pass | Pass | Pass |
Relative luminance is 0.6148 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.
Color blindness simulation
Protanopia#e2c700
Deuteranopia#ebd232
Tritanopia#ffbbaf
Achromatopsia#cecece
People with red–green color blindness see this color almost unchanged (ΔE 2.6 for deuteranopia), so it is a safe choice where color carries meaning. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.
Similar named colors
Nearby colors
#ffcc22less red
#ddcc22more green
#eedd22less green
#eebb22more blue
#eecc33less blue
#eecc11lighter
#ffdd33darker
#ddbb11
CSS
.element {
color: #eecc22;
background-color: rgb(238, 204, 34);
border: 1px solid hsl(50, 86%, 53%);
box-shadow: 0 2px 8px rgb(238 204 34 / 50%);
}
:root { --brand: #eecc22; }