#E4E062#E4E062
#E4E062 is a very light, vivid yellow. Relative luminance 0.707; OKLCH L 88.6% C 0.147 H 107.4°. Best body text is #000000 at 15.14:1 contrast (WCAG AA passes).
Color values
| HEX | #E4E062 |
|---|---|
| RGB | rgb(228, 224, 98) |
| HSL | hsl(58, 71%, 64%) |
| HSV | hsv(58, 57%, 89%) |
| CMYK | cmyk(0%, 1.8%, 57%, 10.6%) |
| CIE-LAB | lab(87.33, -14.45, 60.82) |
| CIE-LCH | lch(87.33, 62.51, 103.37°) |
| OKLab | oklab(88.58% -0.0439 0.1404) |
| OKLCH | oklch(88.58% 0.147 107.4) |
| XYZ | xyz(60.8570, 70.6889, 21.9915) |
| Luminance | 0.7069 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 3.61
Yellowish
#FAEE66
ΔE00 4.02
Sandy Yellow
#FDEE73
ΔE00 4.42
Straw
#FCF679
ΔE00 4.85
Khaki (CSS)
#F0E68C
ΔE00 5.33
Piss Yellow
#DDD618
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E4E062 #6266E4
analogous
#E49F62 #E4E062 #A7E462
triadic
#E4E062 #62E4E0 #E062E4
tetradic
#E4E062 #62E49F #6266E4 #E462A7
square
#E4E062 #62E49F #6266E4 #E462A7
split-complementary
#E4E062 #62A7E4 #9F62E4
monochromatic
#AEA91E #DBD62E #E4E062 #EDEA96 #F6F5CA
Accessibility & contrast
On white
1.39
#E4E062 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.14
#E4E062 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E4E062
15.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E4E062 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E4E062 | 1.00 | 1.39 | 15.14 | 15.14 |
| #FFFFFF | 1.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F1D854
Deuteranopia (green-blind)
#F3DD69
Tritanopia (blue-blind)
#F3D3C5
Achromatopsia (no color)
#DBDBDB
Design tokens & code
CSS
--color: #e4e062; /* rgb */ color: rgb(228, 224, 98); /* oklch */ color: oklch(88.6% 0.147 107.4);
Tailwind
colors: {
custom: {
50: '#efe993',
500: '#e4e062',
950: '#000000',
},
}SCSS
$custom: #e4e062; $custom-light: #efe993; $custom-dark: #000000;
JSON
{
"hex": "#e4e062",
"rgb": {
"r": 228,
"g": 224,
"b": 98
},
"hsl": {
"h": 58.154,
"s": 70.652,
"l": 63.922
},
"oklch": {
"l": 0.88581,
"c": 0.14714,
"h": 107.4
},
"luminance": 0.70687
}Semantic roles & 50–950 ramp
primary
#E4E062
secondary
#3B3FAF
accent
#19D313
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160D
muted
#85847F