#E4D96F#E4D96F
#E4D96F is a very light, vivid yellow. Relative luminance 0.673; OKLCH L 87.3% C 0.128 H 103.4°. Best body text is #000000 at 14.45:1 contrast (WCAG AA passes).
Color values
| HEX | #E4D96F |
|---|---|
| RGB | rgb(228, 217, 111) |
| HSL | hsl(54, 68%, 66%) |
| HSV | hsv(54, 51%, 89%) |
| CMYK | cmyk(0%, 4.8%, 51.3%, 10.6%) |
| CIE-LAB | lab(85.64, -9.95, 52.97) |
| CIE-LCH | lch(85.64, 53.90, 100.64°) |
| OKLab | oklab(87.28% -0.0297 0.1249) |
| OKLCH | oklch(87.28% 0.128 103.4) |
| XYZ | xyz(59.6787, 67.2693, 24.8765) |
| Luminance | 0.6727 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 3.46
Sandy
#F1DA7A
ΔE00 3.70
Khaki (CSS)
#F0E68C
ΔE00 3.90
Sandy Yellow
#FDEE73
ΔE00 5.20
Sand Yellow
#FCE166
ΔE00 5.20
Yellow Tan
#FFE36E
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E4D96F #6F7AE4
analogous
#E49F6F #E4D96F #B5E46F
triadic
#E4D96F #6FE4D9 #D96FE4
tetradic
#E4D96F #6FE49F #6F7AE4 #E46FB5
square
#E4D96F #6FE49F #6F7AE4 #E46FB5
split-complementary
#E4D96F #6FB5E4 #9F6FE4
monochromatic
#B6A822 #DACB3B #E4D96F #EEE7A3 #F7F4D6
Accessibility & contrast
On white
1.45
#E4D96F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.45
#E4D96F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E4D96F
14.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E4D96F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E4D96F | 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)
#E9D365
Deuteranopia (green-blind)
#EDD974
Tritanopia (blue-blind)
#F3CDC1
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #e4d96f; /* rgb */ color: rgb(228, 217, 111); /* oklch */ color: oklch(87.3% 0.128 103.4);
Tailwind
colors: {
custom: {
50: '#efe49b',
500: '#e4d96f',
950: '#000000',
},
}SCSS
$custom: #e4d96f; $custom-light: #efe49b; $custom-dark: #000000;
JSON
{
"hex": "#e4d96f",
"rgb": {
"r": 228,
"g": 217,
"b": 111
},
"hsl": {
"h": 54.359,
"s": 68.421,
"l": 66.471
},
"oklch": {
"l": 0.87276,
"c": 0.1284,
"h": 103.4
},
"luminance": 0.67267
}Semantic roles & 50–950 ramp
primary
#E4D96F
secondary
#404CB7
accent
#27D015
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F