#E5D866#E5D866
#E5D866 is a very light, vivid yellow. Relative luminance 0.667; OKLCH L 87.1% C 0.136 H 102.8°. Best body text is #000000 at 14.35:1 contrast (WCAG AA passes).
Color values
| HEX | #E5D866 |
|---|---|
| RGB | rgb(229, 216, 102) |
| HSL | hsl(54, 71%, 65%) |
| HSV | hsv(54, 55%, 90%) |
| CMYK | cmyk(0%, 5.7%, 55.5%, 10.2%) |
| CIE-LAB | lab(85.37, -9.76, 56.84) |
| CIE-LCH | lch(85.37, 57.67, 99.75°) |
| OKLab | oklab(87.05% -0.0301 0.1324) |
| OKLCH | oklch(87.05% 0.136 102.8) |
| XYZ | xyz(59.2692, 66.7312, 22.3262) |
| Luminance | 0.6673 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.41
Sandy
#F1DA7A
ΔE00 3.86
Sand Yellow
#FCE166
ΔE00 4.54
Khaki (CSS)
#F0E68C
ΔE00 4.84
Yellow Tan
#FFE36E
ΔE00 4.97
Sandy Yellow
#FDEE73
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E5D866 #6673E5
analogous
#E59866 #E5D866 #B3E566
triadic
#E5D866 #66E5D8 #D866E5
tetradic
#E5D866 #66E598 #6673E5 #E566B3
square
#E5D866 #66E598 #6673E5 #E566B3
split-complementary
#E5D866 #66B3E5 #9866E5
monochromatic
#B2A31E #DCCB32 #E5D866 #EEE59A #F7F3CF
Accessibility & contrast
On white
1.46
#E5D866 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.35
#E5D866 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E5D866
14.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E5D866 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E5D866 | 1.00 | 1.46 | 14.35 | 14.35 |
| #FFFFFF | 1.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E9D25B
Deuteranopia (green-blind)
#EDD86C
Tritanopia (blue-blind)
#F4CBBF
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #e5d866; /* rgb */ color: rgb(229, 216, 102); /* oklch */ color: oklch(87.1% 0.136 102.8);
Tailwind
colors: {
custom: {
50: '#f0e395',
500: '#e5d866',
950: '#000000',
},
}SCSS
$custom: #e5d866; $custom-light: #f0e395; $custom-dark: #000000;
JSON
{
"hex": "#e5d866",
"rgb": {
"r": 229,
"g": 216,
"b": 102
},
"hsl": {
"h": 53.858,
"s": 70.95,
"l": 64.902
},
"oklch": {
"l": 0.8705,
"c": 0.13574,
"h": 102.8
},
"luminance": 0.66729
}Semantic roles & 50–950 ramp
primary
#E5D866
secondary
#3C48B3
accent
#26D313
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150D
muted
#85847F