#E4D158#E4D158
#E4D158 is a very light, vivid yellow. Relative luminance 0.628; OKLCH L 85.4% C 0.141 H 100.4°. Best body text is #000000 at 13.56:1 contrast (WCAG AA passes).
Color values
| HEX | #E4D158 |
|---|---|
| RGB | rgb(228, 209, 88) |
| HSL | hsl(52, 72%, 62%) |
| HSV | hsv(52, 61%, 89%) |
| CMYK | cmyk(0%, 8.3%, 61.4%, 10.6%) |
| CIE-LAB | lab(83.34, -7.62, 60.75) |
| CIE-LCH | lch(83.34, 61.23, 97.15°) |
| OKLab | oklab(85.38% -0.0255 0.139) |
| OKLCH | oklch(85.38% 0.141 100.4) |
| XYZ | xyz(56.5591, 62.8019, 18.3734) |
| Luminance | 0.6280 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.62
Sandy
#F1DA7A
ΔE00 4.29
Light Mustard
#F7D560
ΔE00 4.37
Sand Yellow
#FCE166
ΔE00 4.45
Maize
#F4D054
ΔE00 4.55
Light Gold
#FDDC5C
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E4D158 #586BE4
analogous
#E48B58 #E4D158 #B1E458
triadic
#E4D158 #58E4D1 #D158E4
tetradic
#E4D158 #58E48B #586BE4 #E458B1
square
#E4D158 #58E48B #586BE4 #E458B1
split-complementary
#E4D158 #58B1E4 #8B58E4
monochromatic
#A7941B #DBC223 #E4D158 #EDE08D #F5EEC1
Accessibility & contrast
On white
1.55
#E4D158 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.56
#E4D158 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E4D158
13.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E4D158 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E4D158 | 1.00 | 1.55 | 13.56 | 13.56 |
| #FFFFFF | 1.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E3CB4A
Deuteranopia (green-blind)
#E9D35E
Tritanopia (blue-blind)
#F4C3B7
Achromatopsia (no color)
#D0D0D0
Design tokens & code
CSS
--color: #e4d158; /* rgb */ color: rgb(228, 209, 88); /* oklch */ color: oklch(85.4% 0.141 100.4);
Tailwind
colors: {
custom: {
50: '#f0de8c',
500: '#e4d158',
950: '#000000',
},
}SCSS
$custom: #e4d158; $custom-light: #f0de8c; $custom-dark: #000000;
JSON
{
"hex": "#e4d158",
"rgb": {
"r": 228,
"g": 209,
"b": 88
},
"hsl": {
"h": 51.857,
"s": 72.165,
"l": 61.961
},
"oklch": {
"l": 0.85376,
"c": 0.14135,
"h": 100.4
},
"luminance": 0.62799
}Semantic roles & 50–950 ramp
primary
#E4D158
secondary
#3747A9
accent
#2CD411
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F