#E5E166#E5E166
#E5E166 is a very light, vivid yellow. Relative luminance 0.715; OKLCH L 88.9% C 0.145 H 107.3°. Best body text is #000000 at 15.29:1 contrast (WCAG AA passes).
Color values
| HEX | #E5E166 |
|---|---|
| RGB | rgb(229, 225, 102) |
| HSL | hsl(58, 71%, 65%) |
| HSV | hsv(58, 55%, 90%) |
| CMYK | cmyk(0%, 1.7%, 55.5%, 10.2%) |
| CIE-LAB | lab(87.71, -14.25, 59.50) |
| CIE-LCH | lch(87.71, 61.19, 103.47°) |
| OKLab | oklab(88.91% -0.043 0.1381) |
| OKLCH | oklch(88.91% 0.145 107.3) |
| XYZ | xyz(61.6384, 71.4695, 23.1159) |
| Luminance | 0.7147 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 3.73
Yellowish
#FAEE66
ΔE00 3.96
Sandy Yellow
#FDEE73
ΔE00 4.24
Straw
#FCF679
ΔE00 4.61
Khaki (CSS)
#F0E68C
ΔE00 4.94
Manilla
#FFFA86
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E5E166 #666AE5
analogous
#E5A166 #E5E166 #AAE566
triadic
#E5E166 #66E5E1 #E166E5
tetradic
#E5E166 #66E5A1 #666AE5 #E566AA
square
#E5E166 #66E5A1 #666AE5 #E566AA
split-complementary
#E5E166 #66AAE5 #A166E5
monochromatic
#B2AE1E #DCD732 #E5E166 #EEEB9A #F7F6CF
Accessibility & contrast
On white
1.37
#E5E166 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.29
#E5E166 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E5E166
15.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E5E166 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E5E166 | 1.00 | 1.37 | 15.29 | 15.29 |
| #FFFFFF | 1.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F2D959
Deuteranopia (green-blind)
#F4DE6D
Tritanopia (blue-blind)
#F4D4C6
Achromatopsia (no color)
#DCDCDC
Design tokens & code
CSS
--color: #e5e166; /* rgb */ color: rgb(229, 225, 102); /* oklch */ color: oklch(88.9% 0.145 107.3);
Tailwind
colors: {
custom: {
50: '#f0ea95',
500: '#e5e166',
950: '#000000',
},
}SCSS
$custom: #e5e166; $custom-light: #f0ea95; $custom-dark: #000000;
JSON
{
"hex": "#e5e166",
"rgb": {
"r": 229,
"g": 225,
"b": 102
},
"hsl": {
"h": 58.11,
"s": 70.95,
"l": 64.902
},
"oklch": {
"l": 0.88914,
"c": 0.14461,
"h": 107.3
},
"luminance": 0.71468
}Semantic roles & 50–950 ramp
primary
#E5E166
secondary
#3C40B3
accent
#19D313
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17160E
muted
#85847F