#E4E172#E4E172
#E4E172 is a very light, vivid yellow. Relative luminance 0.716; OKLCH L 89.0% C 0.134 H 107.4°. Best body text is #000000 at 15.31:1 contrast (WCAG AA passes).
Color values
| HEX | #E4E172 |
|---|---|
| RGB | rgb(228, 225, 114) |
| HSL | hsl(58, 68%, 67%) |
| HSV | hsv(58, 50%, 89%) |
| CMYK | cmyk(0%, 1.3%, 50%, 10.6%) |
| CIE-LAB | lab(87.76, -13.69, 54.08) |
| CIE-LCH | lch(87.76, 55.78, 104.21°) |
| OKLab | oklab(88.97% -0.0401 0.1276) |
| OKLCH | oklch(88.97% 0.134 107.4) |
| XYZ | xyz(61.9589, 71.5609, 26.4651) |
| Luminance | 0.7156 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (CSS)
#F0E68C
ΔE00 3.79
Dull Yellow
#EEDC5B
ΔE00 4.62
Sandy Yellow
#FDEE73
ΔE00 4.70
Yellowish
#FAEE66
ΔE00 4.87
Straw
#FCF679
ΔE00 4.90
Manilla
#FFFA86
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E4E172 #7275E4
analogous
#E4A872 #E4E172 #AEE472
triadic
#E4E172 #72E4E1 #E172E4
tetradic
#E4E172 #72E4A8 #7275E4 #E472AE
square
#E4E172 #72E4A8 #7275E4 #E472AE
split-complementary
#E4E172 #72AEE4 #A872E4
monochromatic
#B8B423 #DAD63F #E4E172 #EEECA5 #F8F7D9
Accessibility & contrast
On white
1.37
#E4E172 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.31
#E4E172 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E4E172
15.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E4E172 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E4E172 | 1.00 | 1.37 | 15.31 | 15.31 |
| #FFFFFF | 1.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F1DA68
Deuteranopia (green-blind)
#F3DE78
Tritanopia (blue-blind)
#F2D5C8
Achromatopsia (no color)
#DCDCDC
Design tokens & code
CSS
--color: #e4e172; /* rgb */ color: rgb(228, 225, 114); /* oklch */ color: oklch(89.0% 0.134 107.4);
Tailwind
colors: {
custom: {
50: '#efea9d',
500: '#e4e172',
950: '#000000',
},
}SCSS
$custom: #e4e172; $custom-light: #efea9d; $custom-dark: #000000;
JSON
{
"hex": "#e4e172",
"rgb": {
"r": 228,
"g": 225,
"b": 114
},
"hsl": {
"h": 58.421,
"s": 67.857,
"l": 67.059
},
"oklch": {
"l": 0.8897,
"c": 0.13373,
"h": 107.4
},
"luminance": 0.71559
}Semantic roles & 50–950 ramp
primary
#E4E172
secondary
#4245B9
accent
#1BD016
background
#FFFEFC
surface
#FEFDF5
border
#D6D5CF
text
#17160E
muted
#85847F