#E4D959#E4D959
#E4D959 is a very light, vivid yellow. Relative luminance 0.668; OKLCH L 87.0% C 0.148 H 104.4°. Best body text is #000000 at 14.37:1 contrast (WCAG AA passes).
Color values
| HEX | #E4D959 |
|---|---|
| RGB | rgb(228, 217, 89) |
| HSL | hsl(55, 72%, 62%) |
| HSV | hsv(55, 61%, 89%) |
| CMYK | cmyk(0%, 4.8%, 61%, 10.6%) |
| CIE-LAB | lab(85.42, -11.59, 62.59) |
| CIE-LCH | lch(85.42, 63.66, 100.49°) |
| OKLab | oklab(87.04% -0.0367 0.1431) |
| OKLCH | oklch(87.04% 0.148 104.4) |
| XYZ | xyz(58.6130, 66.8430, 19.2638) |
| Luminance | 0.6684 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.03
Piss Yellow
#DDD618
ΔE00 4.52
Yellowish
#FAEE66
ΔE00 4.70
Sand Yellow
#FCE166
ΔE00 4.82
Sandy Yellow
#FDEE73
ΔE00 4.95
Sandy
#F1DA7A
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E4D959 #5964E4
analogous
#E49459 #E4D959 #A9E459
triadic
#E4D959 #59E4D9 #D959E4
tetradic
#E4D959 #59E494 #5964E4 #E459A9
square
#E4D959 #59E494 #5964E4 #E459A9
split-complementary
#E4D959 #59A9E4 #9459E4
monochromatic
#A79C1B #DBCD24 #E4D959 #EDE58E #F5F1C2
Accessibility & contrast
On white
1.46
#E4D959 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.37
#E4D959 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E4D959
14.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E4D959 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E4D959 | 1.00 | 1.46 | 14.37 | 14.37 |
| #FFFFFF | 1.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EBD24A
Deuteranopia (green-blind)
#EFD860
Tritanopia (blue-blind)
#F4CBBE
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #e4d959; /* rgb */ color: rgb(228, 217, 89); /* oklch */ color: oklch(87.0% 0.148 104.4);
Tailwind
colors: {
custom: {
50: '#f0e48d',
500: '#e4d959',
950: '#000000',
},
}SCSS
$custom: #e4d959; $custom-light: #f0e48d; $custom-dark: #000000;
JSON
{
"hex": "#e4d959",
"rgb": {
"r": 228,
"g": 217,
"b": 89
},
"hsl": {
"h": 55.252,
"s": 72.021,
"l": 62.157
},
"oklch": {
"l": 0.87036,
"c": 0.1477,
"h": 104.4
},
"luminance": 0.66841
}Semantic roles & 50–950 ramp
primary
#E4D959
secondary
#3841A9
accent
#21D411
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F