#E8D666#E8D666
#E8D666 is a very light, vivid yellow. Relative luminance 0.662; OKLCH L 86.9% C 0.134 H 100.3°. Best body text is #000000 at 14.24:1 contrast (WCAG AA passes).
Color values
| HEX | #E8D666 |
|---|---|
| RGB | rgb(232, 214, 102) |
| HSL | hsl(52, 74%, 65%) |
| HSV | hsv(52, 56%, 91%) |
| CMYK | cmyk(0%, 7.8%, 56%, 9%) |
| CIE-LAB | lab(85.10, -7.53, 56.60) |
| CIE-LCH | lch(85.10, 57.10, 97.58°) |
| OKLab | oklab(86.9% -0.0239 0.1318) |
| OKLCH | oklch(86.9% 0.134 100.3) |
| XYZ | xyz(59.7257, 66.2106, 22.2017) |
| Luminance | 0.6621 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.33
Sandy
#F1DA7A
ΔE00 2.95
Sand Yellow
#FCE166
ΔE00 3.80
Pale Gold
#FDDE6C
ΔE00 4.15
Yellow Tan
#FFE36E
ΔE00 4.21
Light Mustard
#F7D560
ΔE00 4.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E8D666 #6678E8
analogous
#E89566 #E8D666 #B9E866
triadic
#E8D666 #66E8D6 #D666E8
tetradic
#E8D666 #66E895 #6678E8 #E866B9
square
#E8D666 #66E895 #6678E8 #E866B9
split-complementary
#E8D666 #66B9E8 #9566E8
monochromatic
#B8A21C #E0C831 #E8D666 #F0E49B #F8F3D0
Accessibility & contrast
On white
1.47
#E8D666 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.24
#E8D666 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E8D666
14.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E8D666 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E8D666 | 1.00 | 1.47 | 14.24 | 14.24 |
| #FFFFFF | 1.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E8D15B
Deuteranopia (green-blind)
#EDD86B
Tritanopia (blue-blind)
#F8C9BD
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #e8d666; /* rgb */ color: rgb(232, 214, 102); /* oklch */ color: oklch(86.9% 0.134 100.3);
Tailwind
colors: {
custom: {
50: '#f2e295',
500: '#e8d666',
950: '#000000',
},
}SCSS
$custom: #e8d666; $custom-light: #f2e295; $custom-dark: #000000;
JSON
{
"hex": "#e8d666",
"rgb": {
"r": 232,
"g": 214,
"b": 102
},
"hsl": {
"h": 51.692,
"s": 73.864,
"l": 65.49
},
"oklch": {
"l": 0.86901,
"c": 0.13394,
"h": 100.3
},
"luminance": 0.66208
}Semantic roles & 50–950 ramp
primary
#E8D666
secondary
#3A4CB8
accent
#2BD610
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150D
muted
#85847F