#E8E562#E8E562
#E8E562 is a very light, vivid yellow. Relative luminance 0.741; OKLCH L 90.0% C 0.152 H 107.9°. Best body text is #000000 at 15.82:1 contrast (WCAG AA passes).
Color values
| HEX | #E8E562 |
|---|---|
| RGB | rgb(232, 229, 98) |
| HSL | hsl(59, 74%, 65%) |
| HSV | hsv(59, 58%, 91%) |
| CMYK | cmyk(0%, 1.3%, 57.8%, 9%) |
| CIE-LAB | lab(88.96, -15.30, 62.71) |
| CIE-LCH | lch(88.96, 64.55, 103.71°) |
| OKLab | oklab(89.95% -0.0465 0.1444) |
| OKLCH | oklch(89.95% 0.152 107.9) |
| XYZ | xyz(63.5045, 74.0781, 22.5062) |
| Luminance | 0.7408 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish
#FAEE66
ΔE00 3.21
Sandy Yellow
#FDEE73
ΔE00 3.87
Straw
#FCF679
ΔE00 3.91
Dull Yellow
#EEDC5B
ΔE00 4.02
Off Yellow
#F1F33F
ΔE00 4.94
Manilla
#FFFA86
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E8E562 #6265E8
analogous
#E8A262 #E8E562 #A8E862
triadic
#E8E562 #62E8E5 #E562E8
tetradic
#E8E562 #62E8A2 #6265E8 #E862A8
square
#E8E562 #62E8A2 #6265E8 #E862A8
split-complementary
#E8E562 #62A8E8 #A262E8
monochromatic
#B5B21B #E0DC2D #E8E562 #F0EE97 #F8F7CD
Accessibility & contrast
On white
1.33
#E8E562 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.82
#E8E562 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E8E562
15.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E8E562 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E8E562 | 1.00 | 1.33 | 15.82 | 15.82 |
| #FFFFFF | 1.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F6DD54
Deuteranopia (green-blind)
#F8E269
Tritanopia (blue-blind)
#F7D8C9
Achromatopsia (no color)
#DFDFDF
Design tokens & code
CSS
--color: #e8e562; /* rgb */ color: rgb(232, 229, 98); /* oklch */ color: oklch(90.0% 0.152 107.9);
Tailwind
colors: {
custom: {
50: '#f2ed93',
500: '#e8e562',
950: '#000000',
},
}SCSS
$custom: #e8e562; $custom-light: #f2ed93; $custom-dark: #000000;
JSON
{
"hex": "#e8e562",
"rgb": {
"r": 232,
"g": 229,
"b": 98
},
"hsl": {
"h": 58.657,
"s": 74.444,
"l": 64.706
},
"oklch": {
"l": 0.89953,
"c": 0.15171,
"h": 107.9
},
"luminance": 0.74076
}Semantic roles & 50–950 ramp
primary
#E8E562
secondary
#393CB5
accent
#13D70F
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160D
muted
#85847F