#E5D966#E5D966
#E5D966 is a very light, vivid yellow. Relative luminance 0.672; OKLCH L 87.3% C 0.137 H 103.4°. Best body text is #000000 at 14.45:1 contrast (WCAG AA passes).
Color values
| HEX | #E5D966 |
|---|---|
| RGB | rgb(229, 217, 102) |
| HSL | hsl(54, 71%, 65%) |
| HSV | hsv(54, 55%, 90%) |
| CMYK | cmyk(0%, 5.2%, 55.5%, 10.2%) |
| CIE-LAB | lab(85.63, -10.26, 57.13) |
| CIE-LCH | lch(85.63, 58.05, 100.18°) |
| OKLab | oklab(87.26% -0.0316 0.133) |
| OKLCH | oklch(87.26% 0.137 103.4) |
| XYZ | xyz(59.5262, 67.2451, 22.4118) |
| Luminance | 0.6724 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.42
Sandy
#F1DA7A
ΔE00 4.08
Sand Yellow
#FCE166
ΔE00 4.63
Khaki (CSS)
#F0E68C
ΔE00 4.77
Sandy Yellow
#FDEE73
ΔE00 4.83
Yellowish
#FAEE66
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E5D966 #6672E5
analogous
#E59A66 #E5D966 #B1E566
triadic
#E5D966 #66E5D9 #D966E5
tetradic
#E5D966 #66E59A #6672E5 #E566B1
square
#E5D966 #66E59A #6672E5 #E566B1
split-complementary
#E5D966 #66B1E5 #9A66E5
monochromatic
#B2A41E #DCCC32 #E5D966 #EEE69A #F7F3CF
Accessibility & contrast
On white
1.45
#E5D966 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.45
#E5D966 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E5D966
14.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E5D966 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E5D966 | 1.00 | 1.45 | 14.45 | 14.45 |
| #FFFFFF | 1.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EAD35A
Deuteranopia (green-blind)
#EED96C
Tritanopia (blue-blind)
#F4CCBF
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #e5d966; /* rgb */ color: rgb(229, 217, 102); /* oklch */ color: oklch(87.3% 0.137 103.4);
Tailwind
colors: {
custom: {
50: '#f0e495',
500: '#e5d966',
950: '#000000',
},
}SCSS
$custom: #e5d966; $custom-light: #f0e495; $custom-dark: #000000;
JSON
{
"hex": "#e5d966",
"rgb": {
"r": 229,
"g": 217,
"b": 102
},
"hsl": {
"h": 54.331,
"s": 70.95,
"l": 64.902
},
"oklch": {
"l": 0.87256,
"c": 0.13669,
"h": 103.4
},
"luminance": 0.67243
}Semantic roles & 50–950 ramp
primary
#E5D966
secondary
#3C47B3
accent
#25D313
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150D
muted
#85847F