#E8E462#E8E462
#E8E462 is a very light, vivid yellow. Relative luminance 0.735; OKLCH L 89.7% C 0.151 H 107.4°. Best body text is #000000 at 15.70:1 contrast (WCAG AA passes).
Color values
| HEX | #E8E462 |
|---|---|
| RGB | rgb(232, 228, 98) |
| HSL | hsl(58, 74%, 65%) |
| HSV | hsv(58, 58%, 91%) |
| CMYK | cmyk(0%, 1.7%, 57.8%, 9%) |
| CIE-LAB | lab(88.70, -14.81, 62.42) |
| CIE-LCH | lch(88.70, 64.16, 103.34°) |
| OKLab | oklab(89.74% -0.0451 0.1438) |
| OKLCH | oklch(89.74% 0.151 107.4) |
| XYZ | xyz(63.2287, 73.5263, 22.4142) |
| Luminance | 0.7352 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish
#FAEE66
ΔE00 3.21
Dull Yellow
#EEDC5B
ΔE00 3.74
Sandy Yellow
#FDEE73
ΔE00 3.80
Straw
#FCF679
ΔE00 4.03
Off Yellow
#F1F33F
ΔE00 5.13
Manilla
#FFFA86
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E8E462 #6266E8
analogous
#E8A162 #E8E462 #A9E862
triadic
#E8E462 #62E8E4 #E462E8
tetradic
#E8E462 #62E8A1 #6266E8 #E862A9
square
#E8E462 #62E8A1 #6266E8 #E862A9
split-complementary
#E8E462 #62A9E8 #A162E8
monochromatic
#B5B01B #E0DB2D #E8E462 #F0ED97 #F8F6CD
Accessibility & contrast
On white
1.34
#E8E462 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.70
#E8E462 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E8E462
15.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E8E462 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E8E462 | 1.00 | 1.34 | 15.70 | 15.70 |
| #FFFFFF | 1.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F5DC54
Deuteranopia (green-blind)
#F8E169
Tritanopia (blue-blind)
#F7D7C8
Achromatopsia (no color)
#DFDFDF
Design tokens & code
CSS
--color: #e8e462; /* rgb */ color: rgb(232, 228, 98); /* oklch */ color: oklch(89.7% 0.151 107.4);
Tailwind
colors: {
custom: {
50: '#f2ec93',
500: '#e8e462',
950: '#000000',
},
}SCSS
$custom: #e8e462; $custom-light: #f2ec93; $custom-dark: #000000;
JSON
{
"hex": "#e8e462",
"rgb": {
"r": 232,
"g": 228,
"b": 98
},
"hsl": {
"h": 58.209,
"s": 74.444,
"l": 64.706
},
"oklch": {
"l": 0.89745,
"c": 0.1507,
"h": 107.4
},
"luminance": 0.73524
}Semantic roles & 50–950 ramp
primary
#E8E462
secondary
#393DB5
accent
#15D70F
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160D
muted
#85847F