#EECC5A#EECC5A
#EECC5A is a very light, vivid yellow. Relative luminance 0.621; OKLCH L 85.3% C 0.137 H 92.6°. Best body text is #000000 at 13.42:1 contrast (WCAG AA passes).
Color values
| HEX | #EECC5A |
|---|---|
| RGB | rgb(238, 204, 90) |
| HSL | hsl(46, 81%, 64%) |
| HSV | hsv(46, 62%, 93%) |
| CMYK | cmyk(0%, 14.3%, 62.2%, 6.7%) |
| CIE-LAB | lab(82.97, -0.79, 59.73) |
| CIE-LCH | lch(82.97, 59.74, 90.76°) |
| OKLab | oklab(85.3% -0.0063 0.1369) |
| OKLCH | oklch(85.3% 0.137 92.6) |
| XYZ | xyz(58.7010, 62.1042, 18.5662) |
| Luminance | 0.6210 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 1.53
Light Mustard
#F7D560
ΔE00 2.12
Light Gold
#FDDC5C
ΔE00 3.95
Pale Gold
#FDDE6C
ΔE00 4.12
Sandy
#F1DA7A
ΔE00 4.70
Wheat (survey)
#FBDD7E
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EECC5A #5A7CEE
analogous
#EE825A #EECC5A #C6EE5A
triadic
#EECC5A #5AEECC #CC5AEE
tetradic
#EECC5A #5AEE82 #5A7CEE #EE5AC6
square
#EECC5A #5AEE82 #5A7CEE #EE5AC6
split-complementary
#EECC5A #5AC6EE #825AEE
monochromatic
#BA9413 #E8BB23 #EECC5A #F4DD91 #F9EEC9
Accessibility & contrast
On white
1.56
#EECC5A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.42
#EECC5A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EECC5A
13.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EECC5A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EECC5A | 1.00 | 1.56 | 13.42 | 13.42 |
| #FFFFFF | 1.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E0C94D
Deuteranopia (green-blind)
#E8D35F
Tritanopia (blue-blind)
#FFBDB3
Achromatopsia (no color)
#CFCFCF
Design tokens & code
CSS
--color: #eecc5a; /* rgb */ color: rgb(238, 204, 90); /* oklch */ color: oklch(85.3% 0.137 92.6);
Tailwind
colors: {
custom: {
50: '#f7db8d',
500: '#eecc5a',
950: '#000000',
},
}SCSS
$custom: #eecc5a; $custom-light: #f7db8d; $custom-dark: #000000;
JSON
{
"hex": "#eecc5a",
"rgb": {
"r": 238,
"g": 204,
"b": 90
},
"hsl": {
"h": 46.216,
"s": 81.319,
"l": 64.314
},
"oklch": {
"l": 0.853,
"c": 0.137,
"h": 92.6
},
"luminance": 0.62101
}Semantic roles & 50–950 ramp
primary
#EECC5A
secondary
#3352B9
accent
#39DE08
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F