#E8E166#E8E166
#E8E166 is a very light, vivid yellow. Relative luminance 0.720; OKLCH L 89.2% C 0.144 H 106.0°. Best body text is #000000 at 15.39:1 contrast (WCAG AA passes).
Color values
| HEX | #E8E166 |
|---|---|
| RGB | rgb(232, 225, 102) |
| HSL | hsl(57, 74%, 65%) |
| HSV | hsv(57, 56%, 91%) |
| CMYK | cmyk(0%, 3%, 56%, 9%) |
| CIE-LAB | lab(87.95, -13.04, 59.84) |
| CIE-LCH | lch(87.95, 61.24, 102.29°) |
| OKLab | oklab(89.16% -0.0397 0.1387) |
| OKLCH | oklch(89.16% 0.144 106) |
| XYZ | xyz(62.6041, 71.9675, 23.1612) |
| Luminance | 0.7197 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 3.03
Yellowish
#FAEE66
ΔE00 3.52
Sandy Yellow
#FDEE73
ΔE00 3.70
Straw
#FCF679
ΔE00 4.47
Khaki (CSS)
#F0E68C
ΔE00 4.78
Sand Yellow
#FCE166
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E8E166 #666DE8
analogous
#E8A066 #E8E166 #AEE866
triadic
#E8E166 #66E8E1 #E166E8
tetradic
#E8E166 #66E8A0 #666DE8 #E866AE
square
#E8E166 #66E8A0 #666DE8 #E866AE
split-complementary
#E8E166 #66AEE8 #A066E8
monochromatic
#B8B01C #E0D731 #E8E166 #F0EB9B #F8F6D0
Accessibility & contrast
On white
1.36
#E8E166 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.39
#E8E166 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E8E166
15.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E8E166 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E8E166 | 1.00 | 1.36 | 15.39 | 15.39 |
| #FFFFFF | 1.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F2DA59
Deuteranopia (green-blind)
#F5DF6D
Tritanopia (blue-blind)
#F7D4C6
Achromatopsia (no color)
#DDDDDD
Design tokens & code
CSS
--color: #e8e166; /* rgb */ color: rgb(232, 225, 102); /* oklch */ color: oklch(89.2% 0.144 106.0);
Tailwind
colors: {
custom: {
50: '#f2ea96',
500: '#e8e166',
950: '#000000',
},
}SCSS
$custom: #e8e166; $custom-light: #f2ea96; $custom-dark: #000000;
JSON
{
"hex": "#e8e166",
"rgb": {
"r": 232,
"g": 225,
"b": 102
},
"hsl": {
"h": 56.769,
"s": 73.864,
"l": 65.49
},
"oklch": {
"l": 0.89164,
"c": 0.14431,
"h": 106
},
"luminance": 0.71966
}Semantic roles & 50–950 ramp
primary
#E8E166
secondary
#3A41B8
accent
#1AD610
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17160E
muted
#85847F