#E2EF8A#E2EF8A
#E2EF8A is a very light, vivid yellow. Relative luminance 0.797; OKLCH L 92.1% C 0.126 H 114.9°. Best body text is #000000 at 16.95:1 contrast (WCAG AA passes).
Color values
| HEX | #E2EF8A |
|---|---|
| RGB | rgb(226, 239, 138) |
| HSL | hsl(68, 76%, 74%) |
| HSV | hsv(68, 42%, 94%) |
| CMYK | cmyk(5.4%, 0%, 42.3%, 6.3%) |
| CIE-LAB | lab(91.57, -19.06, 47.28) |
| CIE-LCH | lch(91.57, 50.98, 111.96°) |
| OKLab | oklab(92.06% -0.0531 0.1143) |
| OKLCH | oklch(92.06% 0.126 114.9) |
| XYZ | xyz(66.8186, 79.7375, 35.9107) |
| Luminance | 0.7974 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Khaki
#E6F2A2
ΔE00 3.54
Yellowish Tan
#FCFC81
ΔE00 5.52
Manilla
#FFFA86
ΔE00 5.82
Pale Yellow
#FFFF84
ΔE00 5.86
Buff
#FEF69E
ΔE00 5.88
Khaki (CSS)
#F0E68C
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2EF8A #978AEF
analogous
#EFCA8A #E2EF8A #B0EF8A
triadic
#E2EF8A #8AE2EF #EF8AE2
tetradic
#E2EF8A #8AEFCA #978AEF #EF8AB0
square
#E2EF8A #8AEFCA #978AEF #EF8AB0
split-complementary
#E2EF8A #8AB0EF #CA8AEF
monochromatic
#C7E01F #D5E854 #E2EF8A #EFF6C0 #F8FBE4
Accessibility & contrast
On white
1.24
#E2EF8A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.95
#E2EF8A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2EF8A
16.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2EF8A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2EF8A | 1.00 | 1.24 | 16.95 | 16.95 |
| #FFFFFF | 1.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FCE682
Deuteranopia (green-blind)
#FBE88F
Tritanopia (blue-blind)
#EDE5D7
Achromatopsia (no color)
#E7E7E7
Design tokens & code
CSS
--color: #e2ef8a; /* rgb */ color: rgb(226, 239, 138); /* oklch */ color: oklch(92.1% 0.126 114.9);
Tailwind
colors: {
custom: {
50: '#ecf4ae',
500: '#e2ef8a',
950: '#000000',
},
}SCSS
$custom: #e2ef8a; $custom-light: #ecf4ae; $custom-dark: #000000;
JSON
{
"hex": "#e2ef8a",
"rgb": {
"r": 226,
"g": 239,
"b": 138
},
"hsl": {
"h": 67.723,
"s": 75.94,
"l": 73.922
},
"oklch": {
"l": 0.92063,
"c": 0.12607,
"h": 114.9
},
"luminance": 0.79737
}Semantic roles & 50–950 ramp
primary
#E2EF8A
secondary
#6253CA
accent
#0DD827
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#161710
muted
#858581