#E9D666#E9D666
#E9D666 is a very light, vivid yellow. Relative luminance 0.664; OKLCH L 87.0% C 0.134 H 99.8°. Best body text is #000000 at 14.28:1 contrast (WCAG AA passes).
Color values
| HEX | #E9D666 |
|---|---|
| RGB | rgb(233, 214, 102) |
| HSL | hsl(51, 75%, 66%) |
| HSV | hsv(51, 56%, 91%) |
| CMYK | cmyk(0%, 8.2%, 56.2%, 8.6%) |
| CIE-LAB | lab(85.19, -7.12, 56.72) |
| CIE-LCH | lch(85.19, 57.17, 97.15°) |
| OKLab | oklab(86.99% -0.0228 0.132) |
| OKLCH | oklch(86.99% 0.134 99.8) |
| XYZ | xyz(60.0513, 66.3785, 22.2169) |
| Luminance | 0.6638 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.33
Sandy
#F1DA7A
ΔE00 2.81
Sand Yellow
#FCE166
ΔE00 3.62
Pale Gold
#FDDE6C
ΔE00 3.91
Yellow Tan
#FFE36E
ΔE00 4.02
Light Mustard
#F7D560
ΔE00 4.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E9D666 #6679E9
analogous
#E99466 #E9D666 #BAE966
triadic
#E9D666 #66E9D6 #D666E9
tetradic
#E9D666 #66E994 #6679E9 #E966BA
square
#E9D666 #66E994 #6679E9 #E966BA
split-complementary
#E9D666 #66BAE9 #9466E9
monochromatic
#BAA31B #E1C830 #E9D666 #F1E49C #F8F3D1
Accessibility & contrast
On white
1.47
#E9D666 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.28
#E9D666 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E9D666
14.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E9D666 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E9D666 | 1.00 | 1.47 | 14.28 | 14.28 |
| #FFFFFF | 1.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E8D15B
Deuteranopia (green-blind)
#EDD86B
Tritanopia (blue-blind)
#F9C9BD
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #e9d666; /* rgb */ color: rgb(233, 214, 102); /* oklch */ color: oklch(87.0% 0.134 99.8);
Tailwind
colors: {
custom: {
50: '#f3e295',
500: '#e9d666',
950: '#000000',
},
}SCSS
$custom: #e9d666; $custom-light: #f3e295; $custom-dark: #000000;
JSON
{
"hex": "#e9d666",
"rgb": {
"r": 233,
"g": 214,
"b": 102
},
"hsl": {
"h": 51.298,
"s": 74.857,
"l": 65.686
},
"oklch": {
"l": 0.86989,
"c": 0.13398,
"h": 99.8
},
"luminance": 0.66376
}Semantic roles & 50–950 ramp
primary
#E9D666
secondary
#3A4CB9
accent
#2CD70E
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150D
muted
#85847F