#E4D159#E4D159
#E4D159 is a very light, vivid yellow. Relative luminance 0.628; OKLCH L 85.4% C 0.141 H 100.3°. Best body text is #000000 at 13.56:1 contrast (WCAG AA passes).
Color values
| HEX | #E4D159 |
|---|---|
| RGB | rgb(228, 209, 89) |
| HSL | hsl(52, 72%, 62%) |
| HSV | hsv(52, 61%, 89%) |
| CMYK | cmyk(0%, 8.3%, 61%, 10.6%) |
| CIE-LAB | lab(83.35, -7.56, 60.33) |
| CIE-LCH | lch(83.35, 60.80, 97.14°) |
| OKLab | oklab(85.39% -0.0252 0.1383) |
| OKLCH | oklch(85.39% 0.141 100.3) |
| XYZ | xyz(56.6008, 62.8185, 18.5930) |
| Luminance | 0.6282 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.66
Sandy
#F1DA7A
ΔE00 4.20
Light Mustard
#F7D560
ΔE00 4.35
Sand Yellow
#FCE166
ΔE00 4.45
Maize
#F4D054
ΔE00 4.56
Light Gold
#FDDC5C
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E4D159 #596CE4
analogous
#E48C59 #E4D159 #B1E459
triadic
#E4D159 #59E4D1 #D159E4
tetradic
#E4D159 #59E48C #596CE4 #E459B1
square
#E4D159 #59E48C #596CE4 #E459B1
split-complementary
#E4D159 #59B1E4 #8C59E4
monochromatic
#A7941B #DBC224 #E4D159 #EDE08E #F5EEC2
Accessibility & contrast
On white
1.55
#E4D159 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.56
#E4D159 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E4D159
13.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E4D159 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E4D159 | 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)
#E3CB4C
Deuteranopia (green-blind)
#E9D35F
Tritanopia (blue-blind)
#F4C3B7
Achromatopsia (no color)
#D0D0D0
Design tokens & code
CSS
--color: #e4d159; /* rgb */ color: rgb(228, 209, 89); /* oklch */ color: oklch(85.4% 0.141 100.3);
Tailwind
colors: {
custom: {
50: '#f0de8c',
500: '#e4d159',
950: '#000000',
},
}SCSS
$custom: #e4d159; $custom-light: #f0de8c; $custom-dark: #000000;
JSON
{
"hex": "#e4d159",
"rgb": {
"r": 228,
"g": 209,
"b": 89
},
"hsl": {
"h": 51.799,
"s": 72.021,
"l": 62.157
},
"oklch": {
"l": 0.85386,
"c": 0.14054,
"h": 100.3
},
"luminance": 0.62816
}Semantic roles & 50–950 ramp
primary
#E4D159
secondary
#3847A9
accent
#2CD411
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F