#E4D759#E4D759
#E4D759 is a very light, vivid yellow. Relative luminance 0.658; OKLCH L 86.6% C 0.146 H 103.4°. Best body text is #000000 at 14.16:1 contrast (WCAG AA passes).
Color values
| HEX | #E4D759 |
|---|---|
| RGB | rgb(228, 215, 89) |
| HSL | hsl(54, 72%, 62%) |
| HSV | hsv(54, 61%, 89%) |
| CMYK | cmyk(0%, 5.7%, 61%, 10.6%) |
| CIE-LAB | lab(84.90, -10.59, 62.03) |
| CIE-LCH | lch(84.90, 62.92, 99.69°) |
| OKLab | oklab(86.62% -0.0339 0.1419) |
| OKLCH | oklch(86.62% 0.146 103.4) |
| XYZ | xyz(58.1006, 65.8183, 19.0930) |
| Luminance | 0.6582 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.87
Sand Yellow
#FCE166
ΔE00 4.59
Piss Yellow
#DDD618
ΔE00 4.70
Sandy
#F1DA7A
ΔE00 4.92
Yellowish
#FAEE66
ΔE00 5.10
Sandy Yellow
#FDEE73
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E4D759 #5966E4
analogous
#E49159 #E4D759 #ACE459
triadic
#E4D759 #59E4D7 #D759E4
tetradic
#E4D759 #59E491 #5966E4 #E459AC
square
#E4D759 #59E491 #5966E4 #E459AC
split-complementary
#E4D759 #59ACE4 #9159E4
monochromatic
#A79A1B #DBCA24 #E4D759 #EDE48E #F5F0C2
Accessibility & contrast
On white
1.48
#E4D759 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.16
#E4D759 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E4D759
14.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E4D759 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E4D759 | 1.00 | 1.48 | 14.16 | 14.16 |
| #FFFFFF | 1.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E9D04A
Deuteranopia (green-blind)
#EDD760
Tritanopia (blue-blind)
#F4C9BC
Achromatopsia (no color)
#D4D4D4
Design tokens & code
CSS
--color: #e4d759; /* rgb */ color: rgb(228, 215, 89); /* oklch */ color: oklch(86.6% 0.146 103.4);
Tailwind
colors: {
custom: {
50: '#f0e38d',
500: '#e4d759',
950: '#000000',
},
}SCSS
$custom: #e4d759; $custom-light: #f0e38d; $custom-dark: #000000;
JSON
{
"hex": "#e4d759",
"rgb": {
"r": 228,
"g": 215,
"b": 89
},
"hsl": {
"h": 54.388,
"s": 72.021,
"l": 62.157
},
"oklch": {
"l": 0.86622,
"c": 0.14585,
"h": 103.4
},
"luminance": 0.65816
}Semantic roles & 50–950 ramp
primary
#E4D759
secondary
#3842A9
accent
#24D411
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F