#E8E474#E8E474
#E8E474 is a very light, vivid yellow. Relative luminance 0.739; OKLCH L 89.9% C 0.135 H 107.0°. Best body text is #000000 at 15.78:1 contrast (WCAG AA passes).
Color values
| HEX | #E8E474 |
|---|---|
| RGB | rgb(232, 228, 116) |
| HSL | hsl(58, 72%, 68%) |
| HSV | hsv(58, 50%, 91%) |
| CMYK | cmyk(0%, 1.7%, 50%, 9%) |
| CIE-LAB | lab(88.88, -13.41, 54.55) |
| CIE-LCH | lch(88.88, 56.17, 103.81°) |
| OKLab | oklab(89.95% -0.0393 0.1287) |
| OKLCH | oklch(89.95% 0.135 107) |
| XYZ | xyz(64.1761, 73.9053, 27.4041) |
| Luminance | 0.7390 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (CSS)
#F0E68C
ΔE00 3.54
Sandy Yellow
#FDEE73
ΔE00 4.02
Straw
#FCF679
ΔE00 4.16
Yellowish
#FAEE66
ΔE00 4.25
Dull Yellow
#EEDC5B
ΔE00 4.49
Manilla
#FFFA86
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E8E474 #7478E8
analogous
#E8AA74 #E8E474 #B2E874
triadic
#E8E474 #74E8E4 #E474E8
tetradic
#E8E474 #74E8AA #7478E8 #E874B2
square
#E8E474 #74E8AA #7478E8 #E874B2
split-complementary
#E8E474 #74B2E8 #AA74E8
monochromatic
#C2BC20 #DFDA3F #E8E474 #F1EEA9 #F9F8DD
Accessibility & contrast
On white
1.33
#E8E474 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.78
#E8E474 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E8E474
15.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E8E474 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E8E474 | 1.00 | 1.33 | 15.78 | 15.78 |
| #FFFFFF | 1.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F4DD6A
Deuteranopia (green-blind)
#F6E17A
Tritanopia (blue-blind)
#F6D8CA
Achromatopsia (no color)
#DFDFDF
Design tokens & code
CSS
--color: #e8e474; /* rgb */ color: rgb(232, 228, 116); /* oklch */ color: oklch(89.9% 0.135 107.0);
Tailwind
colors: {
custom: {
50: '#f1ec9f',
500: '#e8e474',
950: '#000000',
},
}SCSS
$custom: #e8e474; $custom-light: #f1ec9f; $custom-dark: #000000;
JSON
{
"hex": "#e8e474",
"rgb": {
"r": 232,
"g": 228,
"b": 116
},
"hsl": {
"h": 57.931,
"s": 71.605,
"l": 68.235
},
"oklch": {
"l": 0.89946,
"c": 0.1346,
"h": 107
},
"luminance": 0.73904
}Semantic roles & 50–950 ramp
primary
#E8E474
secondary
#4045C0
accent
#19D412
background
#FFFEFC
surface
#FEFDF5
border
#D6D5CF
text
#17160F
muted
#858480