#E4E174#E4E174
#E4E174 is a very light, vivid yellow. Relative luminance 0.716; OKLCH L 89.0% C 0.132 H 107.4°. Best body text is #000000 at 15.32:1 contrast (WCAG AA passes).
Color values
| HEX | #E4E174 |
|---|---|
| RGB | rgb(228, 225, 116) |
| HSL | hsl(58, 67%, 67%) |
| HSV | hsv(58, 49%, 89%) |
| CMYK | cmyk(0%, 1.3%, 49.1%, 10.6%) |
| CIE-LAB | lab(87.78, -13.52, 53.17) |
| CIE-LCH | lch(87.78, 54.86, 104.27°) |
| OKLab | oklab(89% -0.0394 0.1258) |
| OKLCH | oklch(89% 0.132 107.4) |
| XYZ | xyz(62.0740, 71.6070, 27.0713) |
| Luminance | 0.7160 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (CSS)
#F0E68C
ΔE00 3.58
Dull Yellow
#EEDC5B
ΔE00 4.77
Sandy Yellow
#FDEE73
ΔE00 4.79
Straw
#FCF679
ΔE00 4.98
Yellowish
#FAEE66
ΔE00 5.03
Manilla
#FFFA86
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E4E174 #7477E4
analogous
#E4A974 #E4E174 #AFE474
triadic
#E4E174 #74E4E1 #E174E4
tetradic
#E4E174 #74E4A9 #7477E4 #E474AF
square
#E4E174 #74E4A9 #7477E4 #E474AF
split-complementary
#E4E174 #74AFE4 #A974E4
monochromatic
#BAB624 #DAD641 #E4E174 #EEECA7 #F8F7DA
Accessibility & contrast
On white
1.37
#E4E174 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.32
#E4E174 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E4E174
15.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E4E174 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E4E174 | 1.00 | 1.37 | 15.32 | 15.32 |
| #FFFFFF | 1.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F0DA6A
Deuteranopia (green-blind)
#F3DE79
Tritanopia (blue-blind)
#F2D5C8
Achromatopsia (no color)
#DCDCDC
Design tokens & code
CSS
--color: #e4e174; /* rgb */ color: rgb(228, 225, 116); /* oklch */ color: oklch(89.0% 0.132 107.4);
Tailwind
colors: {
custom: {
50: '#eeea9e',
500: '#e4e174',
950: '#000000',
},
}SCSS
$custom: #e4e174; $custom-light: #eeea9e; $custom-dark: #000000;
JSON
{
"hex": "#e4e174",
"rgb": {
"r": 228,
"g": 225,
"b": 116
},
"hsl": {
"h": 58.393,
"s": 67.47,
"l": 67.451
},
"oklch": {
"l": 0.88995,
"c": 0.13181,
"h": 107.4
},
"luminance": 0.71605
}Semantic roles & 50–950 ramp
primary
#E4E174
secondary
#4346BA
accent
#1BCF16
background
#FFFEFC
surface
#FEFDF5
border
#D6D5CF
text
#17160F
muted
#858480