#E4D559#E4D559
#E4D559 is a very light, vivid yellow. Relative luminance 0.648; OKLCH L 86.2% C 0.144 H 102.4°. Best body text is #000000 at 13.96:1 contrast (WCAG AA passes).
Color values
| HEX | #E4D559 |
|---|---|
| RGB | rgb(228, 213, 89) |
| HSL | hsl(54, 72%, 62%) |
| HSV | hsv(54, 61%, 89%) |
| CMYK | cmyk(0%, 6.6%, 61%, 10.6%) |
| CIE-LAB | lab(84.38, -9.58, 61.46) |
| CIE-LCH | lch(84.38, 62.20, 98.86°) |
| OKLab | oklab(86.21% -0.031 0.1407) |
| OKLCH | oklch(86.21% 0.144 102.4) |
| XYZ | xyz(57.5945, 64.8060, 18.9243) |
| Luminance | 0.6480 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.94
Sand Yellow
#FCE166
ΔE00 4.45
Sandy
#F1DA7A
ΔE00 4.61
Piss Yellow
#DDD618
ΔE00 4.98
Yellow Tan
#FFE36E
ΔE00 5.10
Light Gold
#FDDC5C
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E4D559 #5968E4
analogous
#E48F59 #E4D559 #AEE459
triadic
#E4D559 #59E4D5 #D559E4
tetradic
#E4D559 #59E48F #5968E4 #E459AE
square
#E4D559 #59E48F #5968E4 #E459AE
split-complementary
#E4D559 #59AEE4 #8F59E4
monochromatic
#A7981B #DBC824 #E4D559 #EDE28E #F5F0C2
Accessibility & contrast
On white
1.50
#E4D559 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.96
#E4D559 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E4D559
13.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E4D559 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E4D559 | 1.00 | 1.50 | 13.96 | 13.96 |
| #FFFFFF | 1.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E7CF4B
Deuteranopia (green-blind)
#ECD660
Tritanopia (blue-blind)
#F4C7BB
Achromatopsia (no color)
#D3D3D3
Design tokens & code
CSS
--color: #e4d559; /* rgb */ color: rgb(228, 213, 89); /* oklch */ color: oklch(86.2% 0.144 102.4);
Tailwind
colors: {
custom: {
50: '#f0e18d',
500: '#e4d559',
950: '#000000',
},
}SCSS
$custom: #e4d559; $custom-light: #f0e18d; $custom-dark: #000000;
JSON
{
"hex": "#e4d559",
"rgb": {
"r": 228,
"g": 213,
"b": 89
},
"hsl": {
"h": 53.525,
"s": 72.021,
"l": 62.157
},
"oklch": {
"l": 0.86209,
"c": 0.14404,
"h": 102.4
},
"luminance": 0.64804
}Semantic roles & 50–950 ramp
primary
#E4D559
secondary
#3844A9
accent
#26D411
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F