#E2E166#E2E166
#E2E166 is a very light, vivid yellow. Relative luminance 0.710; OKLCH L 88.7% C 0.145 H 108.6°. Best body text is #000000 at 15.20:1 contrast (WCAG AA passes).
Color values
| HEX | #E2E166 |
|---|---|
| RGB | rgb(226, 225, 102) |
| HSL | hsl(60, 68%, 64%) |
| HSV | hsv(60, 55%, 89%) |
| CMYK | cmyk(0%, 0.4%, 54.9%, 11.4%) |
| CIE-LAB | lab(87.48, -15.46, 59.17) |
| CIE-LCH | lch(87.48, 61.16, 104.64°) |
| OKLab | oklab(88.67% -0.0462 0.1374) |
| OKLCH | oklch(88.67% 0.145 108.6) |
| XYZ | xyz(60.6892, 70.9801, 23.0714) |
| Luminance | 0.7098 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 4.44
Yellowish
#FAEE66
ΔE00 4.48
Sandy Yellow
#FDEE73
ΔE00 4.82
Straw
#FCF679
ΔE00 4.86
Khaki (CSS)
#F0E68C
ΔE00 5.20
Manilla
#FFFA86
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2E166 #6667E2
analogous
#E2A366 #E2E166 #A5E266
triadic
#E2E166 #66E2E1 #E166E2
tetradic
#E2E166 #66E2A3 #6667E2 #E266A5
square
#E2E166 #66E2A3 #6667E2 #E266A5
split-complementary
#E2E166 #66A5E2 #A366E2
monochromatic
#ADAC21 #D8D733 #E2E166 #ECEB99 #F6F5CD
Accessibility & contrast
On white
1.38
#E2E166 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.20
#E2E166 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2E166
15.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2E166 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2E166 | 1.00 | 1.38 | 15.20 | 15.20 |
| #FFFFFF | 1.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F1D959
Deuteranopia (green-blind)
#F3DD6D
Tritanopia (blue-blind)
#F0D4C6
Achromatopsia (no color)
#DBDBDB
Design tokens & code
CSS
--color: #e2e166; /* rgb */ color: rgb(226, 225, 102); /* oklch */ color: oklch(88.7% 0.145 108.6);
Tailwind
colors: {
custom: {
50: '#eeea95',
500: '#e2e166',
950: '#000000',
},
}SCSS
$custom: #e2e166; $custom-light: #eeea95; $custom-dark: #000000;
JSON
{
"hex": "#e2e166",
"rgb": {
"r": 226,
"g": 225,
"b": 102
},
"hsl": {
"h": 59.516,
"s": 68.132,
"l": 64.314
},
"oklch": {
"l": 0.88668,
"c": 0.14499,
"h": 108.6
},
"luminance": 0.70978
}Semantic roles & 50–950 ramp
primary
#E2E166
secondary
#3E3FAE
accent
#17D015
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17160E
muted
#85847F