#E2F870#E2F870
#E2F870 is a very light, vivid yellow. Relative luminance 0.845; OKLCH L 93.6% C 0.162 H 117.3°. Best body text is #000000 at 17.89:1 contrast (WCAG AA passes).
Color values
| HEX | #E2F870 |
|---|---|
| RGB | rgb(226, 248, 112) |
| HSL | hsl(70, 91%, 71%) |
| HSV | hsv(70, 55%, 97%) |
| CMYK | cmyk(8.9%, 0%, 54.8%, 2.7%) |
| CIE-LAB | lab(93.66, -25.78, 61.79) |
| CIE-LCH | lch(93.66, 66.95, 112.64°) |
| OKLab | oklab(93.64% -0.0744 0.1441) |
| OKLCH | oklch(93.64% 0.162 117.3) |
| XYZ | xyz(67.8571, 84.4741, 28.0565) |
| Luminance | 0.8447 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pear
#CBF85F
ΔE00 4.11
Faded Yellow
#FEFF7F
ΔE00 4.97
Yellowish Tan
#FCFC81
ΔE00 5.00
Banana (survey)
#FFFF7E
ΔE00 5.19
Butter
#FFFF81
ΔE00 5.20
Pale Yellow
#FFFF84
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2F870 #8670F8
analogous
#F8CA70 #E2F870 #9EF870
triadic
#E2F870 #70E2F8 #F870E2
tetradic
#E2F870 #70F8CA #8670F8 #F8709E
square
#E2F870 #70F8CA #8670F8 #F8709E
split-complementary
#E2F870 #709EF8 #CA70F8
monochromatic
#C0E30B #D6F536 #E2F870 #EEFBAA #F9FEE2
Accessibility & contrast
On white
1.17
#E2F870 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.89
#E2F870 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2F870
17.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2F870 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2F870 | 1.00 | 1.17 | 17.89 | 17.89 |
| #FFFFFF | 1.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEC62
Deuteranopia (green-blind)
#FFEE78
Tritanopia (blue-blind)
#EEECDA
Achromatopsia (no color)
#EDEDED
Design tokens & code
CSS
--color: #e2f870; /* rgb */ color: rgb(226, 248, 112); /* oklch */ color: oklch(93.6% 0.162 117.3);
Tailwind
colors: {
custom: {
50: '#edfa9d',
500: '#e2f870',
950: '#000000',
},
}SCSS
$custom: #e2f870; $custom-light: #edfa9d; $custom-dark: #000000;
JSON
{
"hex": "#e2f870",
"rgb": {
"r": 226,
"g": 248,
"b": 112
},
"hsl": {
"h": 69.706,
"s": 90.667,
"l": 70.588
},
"oklch": {
"l": 0.93639,
"c": 0.1622,
"h": 117.3
},
"luminance": 0.84473
}Semantic roles & 50–950 ramp
primary
#E2F870
secondary
#5239D3
accent
#00E625
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#17170F
muted
#858580