#E8EC8A#E8EC8A
#E8EC8A is a very light, vivid yellow. Relative luminance 0.790; OKLCH L 91.9% C 0.121 H 110.6°. Best body text is #000000 at 16.80:1 contrast (WCAG AA passes).
Color values
| HEX | #E8EC8A |
|---|---|
| RGB | rgb(232, 236, 138) |
| HSL | hsl(62, 72%, 73%) |
| HSV | hsv(62, 42%, 93%) |
| CMYK | cmyk(1.7%, 0%, 41.5%, 7.5%) |
| CIE-LAB | lab(91.23, -15.29, 46.95) |
| CIE-LCH | lch(91.23, 49.38, 108.04°) |
| OKLab | oklab(91.9% -0.0427 0.1135) |
| OKLCH | oklch(91.9% 0.121 110.6) |
| XYZ | xyz(67.8626, 78.9829, 35.7101) |
| Luminance | 0.7898 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (CSS)
#F0E68C
ΔE00 3.78
Light Khaki
#E6F2A2
ΔE00 4.06
Buff
#FEF69E
ΔE00 4.28
Manilla
#FFFA86
ΔE00 4.68
Dark Cream
#FFF39A
ΔE00 4.81
Yellowish Tan
#FCFC81
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E8EC8A #8E8AEC
analogous
#ECBF8A #E8EC8A #B7EC8A
triadic
#E8EC8A #8AE8EC #EC8AE8
tetradic
#E8EC8A #8AECBF #8E8AEC #EC8AB7
square
#E8EC8A #8AECBF #8E8AEC #EC8AB7
split-complementary
#E8EC8A #8AB7EC #BF8AEC
monochromatic
#D1D823 #DEE355 #E8EC8A #F2F5BF #FAFBE5
Accessibility & contrast
On white
1.25
#E8EC8A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.80
#E8EC8A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E8EC8A
16.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E8EC8A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E8EC8A | 1.00 | 1.25 | 16.80 | 16.80 |
| #FFFFFF | 1.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FAE482
Deuteranopia (green-blind)
#FBE78F
Tritanopia (blue-blind)
#F4E1D4
Achromatopsia (no color)
#E6E6E6
Design tokens & code
CSS
--color: #e8ec8a; /* rgb */ color: rgb(232, 236, 138); /* oklch */ color: oklch(91.9% 0.121 110.6);
Tailwind
colors: {
custom: {
50: '#f1f2ae',
500: '#e8ec8a',
950: '#000000',
},
}SCSS
$custom: #e8ec8a; $custom-light: #f1f2ae; $custom-dark: #000000;
JSON
{
"hex": "#e8ec8a",
"rgb": {
"r": 232,
"g": 236,
"b": 138
},
"hsl": {
"h": 62.449,
"s": 72.059,
"l": 73.333
},
"oklch": {
"l": 0.91902,
"c": 0.12128,
"h": 110.6
},
"luminance": 0.78982
}Semantic roles & 50–950 ramp
primary
#E8EC8A
secondary
#5854C7
accent
#11D419
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#171610
muted
#858581