#E8E472#E8E472
#E8E472 is a very light, vivid yellow. Relative luminance 0.739; OKLCH L 89.9% C 0.137 H 107.0°. Best body text is #000000 at 15.77:1 contrast (WCAG AA passes).
Color values
| HEX | #E8E472 |
|---|---|
| RGB | rgb(232, 228, 114) |
| HSL | hsl(58, 72%, 68%) |
| HSV | hsv(58, 51%, 91%) |
| CMYK | cmyk(0%, 1.7%, 50.9%, 9%) |
| CIE-LAB | lab(88.86, -13.58, 55.45) |
| CIE-LCH | lch(88.86, 57.09, 103.76°) |
| OKLab | oklab(89.92% -0.04 0.1305) |
| OKLCH | oklch(89.92% 0.137 107) |
| XYZ | xyz(64.0610, 73.8593, 26.7980) |
| Luminance | 0.7386 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (CSS)
#F0E68C
ΔE00 3.77
Sandy Yellow
#FDEE73
ΔE00 3.94
Yellowish
#FAEE66
ΔE00 4.08
Straw
#FCF679
ΔE00 4.09
Dull Yellow
#EEDC5B
ΔE00 4.35
Manilla
#FFFA86
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E8E472 #7276E8
analogous
#E8A972 #E8E472 #B1E872
triadic
#E8E472 #72E8E4 #E472E8
tetradic
#E8E472 #72E8A9 #7276E8 #E872B1
square
#E8E472 #72E8A9 #7276E8 #E872B1
split-complementary
#E8E472 #72B1E8 #A972E8
monochromatic
#C0BB1F #DFDA3D #E8E472 #F1EEA7 #F9F8DB
Accessibility & contrast
On white
1.33
#E8E472 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.77
#E8E472 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E8E472
15.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E8E472 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E8E472 | 1.00 | 1.33 | 15.77 | 15.77 |
| #FFFFFF | 1.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F4DC67
Deuteranopia (green-blind)
#F6E178
Tritanopia (blue-blind)
#F6D8CA
Achromatopsia (no color)
#DFDFDF
Design tokens & code
CSS
--color: #e8e472; /* rgb */ color: rgb(232, 228, 114); /* oklch */ color: oklch(89.9% 0.137 107.0);
Tailwind
colors: {
custom: {
50: '#f1ec9d',
500: '#e8e472',
950: '#000000',
},
}SCSS
$custom: #e8e472; $custom-light: #f1ec9d; $custom-dark: #000000;
JSON
{
"hex": "#e8e472",
"rgb": {
"r": 232,
"g": 228,
"b": 114
},
"hsl": {
"h": 57.966,
"s": 71.951,
"l": 67.843
},
"oklch": {
"l": 0.89922,
"c": 0.13651,
"h": 107
},
"luminance": 0.73858
}Semantic roles & 50–950 ramp
primary
#E8E472
secondary
#3F43BF
accent
#18D411
background
#FFFEFC
surface
#FEFDF5
border
#D6D5CF
text
#17160E
muted
#85847F