#E4E159#E4E159
#E4E159 is a very light, vivid yellow. Relative luminance 0.711; OKLCH L 88.7% C 0.155 H 108.0°. Best body text is #000000 at 15.21:1 contrast (WCAG AA passes).
Color values
| HEX | #E4E159 |
|---|---|
| RGB | rgb(228, 225, 89) |
| HSL | hsl(59, 72%, 62%) |
| HSV | hsv(59, 61%, 89%) |
| CMYK | cmyk(0%, 1.3%, 61%, 10.6%) |
| CIE-LAB | lab(87.52, -15.56, 64.85) |
| CIE-LCH | lch(87.52, 66.69, 103.49°) |
| OKLab | oklab(88.7% -0.048 0.1479) |
| OKLCH | oklch(88.7% 0.155 108) |
| XYZ | xyz(60.7252, 71.0675, 19.9679) |
| Luminance | 0.7107 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 3.78
Yellowish
#FAEE66
ΔE00 3.83
Sandy Yellow
#FDEE73
ΔE00 4.61
Piss Yellow
#DDD618
ΔE00 4.72
Straw
#FCF679
ΔE00 4.91
Off Yellow
#F1F33F
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E4E159 #595CE4
analogous
#E49C59 #E4E159 #A2E459
triadic
#E4E159 #59E4E1 #E159E4
tetradic
#E4E159 #59E49C #595CE4 #E459A2
square
#E4E159 #59E49C #595CE4 #E459A2
split-complementary
#E4E159 #59A2E4 #9C59E4
monochromatic
#A7A41B #DBD724 #E4E159 #EDEB8E #F5F4C2
Accessibility & contrast
On white
1.38
#E4E159 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.21
#E4E159 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E4E159
15.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E4E159 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E4E159 | 1.00 | 1.38 | 15.21 | 15.21 |
| #FFFFFF | 1.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F2D949
Deuteranopia (green-blind)
#F5DE61
Tritanopia (blue-blind)
#F3D3C4
Achromatopsia (no color)
#DBDBDB
Design tokens & code
CSS
--color: #e4e159; /* rgb */ color: rgb(228, 225, 89); /* oklch */ color: oklch(88.7% 0.155 108.0);
Tailwind
colors: {
custom: {
50: '#f0ea8e',
500: '#e4e159',
950: '#000000',
},
}SCSS
$custom: #e4e159; $custom-light: #f0ea8e; $custom-dark: #000000;
JSON
{
"hex": "#e4e159",
"rgb": {
"r": 228,
"g": 225,
"b": 89
},
"hsl": {
"h": 58.705,
"s": 72.021,
"l": 62.157
},
"oklch": {
"l": 0.88703,
"c": 0.15545,
"h": 108
},
"luminance": 0.71066
}Semantic roles & 50–950 ramp
primary
#E4E159
secondary
#383AA9
accent
#16D411
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160D
muted
#85847F