#E8D166#E8D166
#E8D166 is a very light, vivid yellow. Relative luminance 0.637; OKLCH L 85.9% C 0.130 H 97.4°. Best body text is #000000 at 13.74:1 contrast (WCAG AA passes).
Color values
| HEX | #E8D166 |
|---|---|
| RGB | rgb(232, 209, 102) |
| HSL | hsl(49, 74%, 65%) |
| HSV | hsv(49, 56%, 91%) |
| CMYK | cmyk(0%, 9.9%, 56%, 9%) |
| CIE-LAB | lab(83.82, -4.99, 55.12) |
| CIE-LCH | lch(83.82, 55.35, 95.17°) |
| OKLab | oklab(85.88% -0.0166 0.1286) |
| OKLCH | oklch(85.88% 0.13 97.4) |
| XYZ | xyz(58.4796, 63.7185, 21.7863) |
| Luminance | 0.6372 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 2.69
Light Mustard
#F7D560
ΔE00 3.34
Dull Yellow
#EEDC5B
ΔE00 3.69
Sand (survey)
#E2CA76
ΔE00 3.71
Maize
#F4D054
ΔE00 3.85
Pale Gold
#FDDE6C
ΔE00 3.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E8D166 #667DE8
analogous
#E89066 #E8D166 #BEE866
triadic
#E8D166 #66E8D1 #D166E8
tetradic
#E8D166 #66E890 #667DE8 #E866BE
square
#E8D166 #66E890 #667DE8 #E866BE
split-complementary
#E8D166 #66BEE8 #9066E8
monochromatic
#B89C1C #E0C131 #E8D166 #F0E19B #F8F1D0
Accessibility & contrast
On white
1.53
#E8D166 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.74
#E8D166 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E8D166
13.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E8D166 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E8D166 | 1.00 | 1.53 | 13.74 | 13.74 |
| #FFFFFF | 1.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E3CC5C
Deuteranopia (green-blind)
#E9D46B
Tritanopia (blue-blind)
#F8C4B9
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #e8d166; /* rgb */ color: rgb(232, 209, 102); /* oklch */ color: oklch(85.9% 0.130 97.4);
Tailwind
colors: {
custom: {
50: '#f2de95',
500: '#e8d166',
950: '#000000',
},
}SCSS
$custom: #e8d166; $custom-light: #f2de95; $custom-dark: #000000;
JSON
{
"hex": "#e8d166",
"rgb": {
"r": 232,
"g": 209,
"b": 102
},
"hsl": {
"h": 49.385,
"s": 73.864,
"l": 65.49
},
"oklch": {
"l": 0.85883,
"c": 0.12967,
"h": 97.4
},
"luminance": 0.63716
}Semantic roles & 50–950 ramp
primary
#E8D166
secondary
#3A51B8
accent
#33D610
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F