#E2F271#E2F271
#E2F271 is a very light, vivid yellow. Relative luminance 0.809; OKLCH L 92.4% C 0.154 H 115.4°. Best body text is #000000 at 17.17:1 contrast (WCAG AA passes).
Color values
| HEX | #E2F271 |
|---|---|
| RGB | rgb(226, 242, 113) |
| HSL | hsl(67, 83%, 70%) |
| HSV | hsv(67, 53%, 95%) |
| CMYK | cmyk(6.6%, 0%, 53.3%, 5.1%) |
| CIE-LAB | lab(92.07, -22.85, 59.53) |
| CIE-LCH | lch(92.07, 63.77, 110.99°) |
| OKLab | oklab(92.37% -0.0661 0.1394) |
| OKLCH | oklch(92.37% 0.154 115.4) |
| XYZ | xyz(66.0979, 80.8662, 27.7463) |
| Luminance | 0.8086 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 4.44
Faded Yellow
#FEFF7F
ΔE00 4.64
Butter
#FFFF81
ΔE00 4.82
Pale Yellow
#FFFF84
ΔE00 4.83
Banana (survey)
#FFFF7E
ΔE00 4.85
Light Yellow
#FFFE7A
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2F271 #8171F2
analogous
#F2C271 #E2F271 #A2F271
triadic
#E2F271 #71E2F2 #F271E2
tetradic
#E2F271 #71F2C2 #8171F2 #F271A2
square
#E2F271 #71F2C2 #8171F2 #F271A2
split-complementary
#E2F271 #71A2F2 #C271F2
monochromatic
#BDD514 #D7ED39 #E2F271 #EDF7A9 #F9FCE1
Accessibility & contrast
On white
1.22
#E2F271 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.17
#E2F271 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2F271
17.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2F271 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2F271 | 1.00 | 1.22 | 17.17 | 17.17 |
| #FFFFFF | 1.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE764
Deuteranopia (green-blind)
#FFE978
Tritanopia (blue-blind)
#EEE6D5
Achromatopsia (no color)
#E8E8E8
Design tokens & code
CSS
--color: #e2f271; /* rgb */ color: rgb(226, 242, 113); /* oklch */ color: oklch(92.4% 0.154 115.4);
Tailwind
colors: {
custom: {
50: '#edf69d',
500: '#e2f271',
950: '#000000',
},
}SCSS
$custom: #e2f271; $custom-light: #edf69d; $custom-dark: #000000;
JSON
{
"hex": "#e2f271",
"rgb": {
"r": 226,
"g": 242,
"b": 113
},
"hsl": {
"h": 67.442,
"s": 83.226,
"l": 69.608
},
"oklch": {
"l": 0.92374,
"c": 0.15422,
"h": 115.4
},
"luminance": 0.80865
}Semantic roles & 50–950 ramp
primary
#E2F271
secondary
#4E3CCB
accent
#06E021
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17170F
muted
#858580