#E9D866#E9D866
#E9D866 is a very light, vivid yellow. Relative luminance 0.674; OKLCH L 87.4% C 0.136 H 100.9°. Best body text is #000000 at 14.48:1 contrast (WCAG AA passes).
Color values
| HEX | #E9D866 |
|---|---|
| RGB | rgb(233, 216, 102) |
| HSL | hsl(52, 75%, 66%) |
| HSV | hsv(52, 56%, 91%) |
| CMYK | cmyk(0%, 7.3%, 56.2%, 8.6%) |
| CIE-LAB | lab(85.70, -8.13, 57.31) |
| CIE-LCH | lch(85.70, 57.88, 98.07°) |
| OKLab | oklab(87.4% -0.0257 0.1333) |
| OKLCH | oklch(87.4% 0.136 100.9) |
| XYZ | xyz(60.5605, 67.3970, 22.3867) |
| Luminance | 0.6740 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.94
Sandy
#F1DA7A
ΔE00 3.14
Sand Yellow
#FCE166
ΔE00 3.63
Yellow Tan
#FFE36E
ΔE00 4.07
Pale Gold
#FDDE6C
ΔE00 4.19
Light Mustard
#F7D560
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E9D866 #6677E9
analogous
#E99666 #E9D866 #B8E966
triadic
#E9D866 #66E9D8 #D866E9
tetradic
#E9D866 #66E996 #6677E9 #E966B8
square
#E9D866 #66E996 #6677E9 #E966B8
split-complementary
#E9D866 #66B8E9 #9666E9
monochromatic
#BAA51B #E1CA30 #E9D866 #F1E69C #F8F3D1
Accessibility & contrast
On white
1.45
#E9D866 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.48
#E9D866 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E9D866
14.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E9D866 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E9D866 | 1.00 | 1.45 | 14.48 | 14.48 |
| #FFFFFF | 1.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EAD25B
Deuteranopia (green-blind)
#EFD96C
Tritanopia (blue-blind)
#F9CBBF
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #e9d866; /* rgb */ color: rgb(233, 216, 102); /* oklch */ color: oklch(87.4% 0.136 100.9);
Tailwind
colors: {
custom: {
50: '#f3e395',
500: '#e9d866',
950: '#000000',
},
}SCSS
$custom: #e9d866; $custom-light: #f3e395; $custom-dark: #000000;
JSON
{
"hex": "#e9d866",
"rgb": {
"r": 233,
"g": 216,
"b": 102
},
"hsl": {
"h": 52.214,
"s": 74.857,
"l": 65.686
},
"oklch": {
"l": 0.87397,
"c": 0.13575,
"h": 100.9
},
"luminance": 0.67395
}Semantic roles & 50–950 ramp
primary
#E9D866
secondary
#3A4AB9
accent
#29D70E
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150D
muted
#85847F