#E2F172#E2F172
#E2F172 is a very light, vivid yellow. Relative luminance 0.803; OKLCH L 92.2% C 0.152 H 115.0°. Best body text is #000000 at 17.06:1 contrast (WCAG AA passes).
Color values
| HEX | #E2F172 |
|---|---|
| RGB | rgb(226, 241, 114) |
| HSL | hsl(67, 82%, 70%) |
| HSV | hsv(67, 53%, 95%) |
| CMYK | cmyk(6.2%, 0%, 52.7%, 5.5%) |
| CIE-LAB | lab(91.82, -22.28, 58.79) |
| CIE-LCH | lch(91.82, 62.87, 110.76°) |
| OKLab | oklab(92.17% -0.0644 0.1379) |
| OKLCH | oklch(92.17% 0.152 115) |
| XYZ | xyz(65.8577, 80.2952, 27.9455) |
| Luminance | 0.8029 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 4.40
Faded Yellow
#FEFF7F
ΔE00 4.65
Pale Yellow
#FFFF84
ΔE00 4.81
Butter
#FFFF81
ΔE00 4.82
Banana (survey)
#FFFF7E
ΔE00 4.85
Light Yellow
#FFFE7A
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2F172 #8172F1
analogous
#F1C172 #E2F172 #A2F172
triadic
#E2F172 #72E2F1 #F172E2
tetradic
#E2F172 #72F1C1 #8172F1 #F172A2
square
#E2F172 #72F1C1 #8172F1 #F172A2
split-complementary
#E2F172 #72A2F1 #C172F1
monochromatic
#BDD415 #D7EB3A #E2F172 #EDF7AA #F9FCE1
Accessibility & contrast
On white
1.23
#E2F172 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.06
#E2F172 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2F172
17.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2F172 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2F172 | 1.00 | 1.23 | 17.06 | 17.06 |
| #FFFFFF | 1.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE766
Deuteranopia (green-blind)
#FFE979
Tritanopia (blue-blind)
#EEE5D5
Achromatopsia (no color)
#E7E7E7
Design tokens & code
CSS
--color: #e2f172; /* rgb */ color: rgb(226, 241, 114); /* oklch */ color: oklch(92.2% 0.152 115.0);
Tailwind
colors: {
custom: {
50: '#edf59e',
500: '#e2f172',
950: '#000000',
},
}SCSS
$custom: #e2f172; $custom-light: #edf59e; $custom-dark: #000000;
JSON
{
"hex": "#e2f172",
"rgb": {
"r": 226,
"g": 241,
"b": 114
},
"hsl": {
"h": 67.087,
"s": 81.935,
"l": 69.608
},
"oklch": {
"l": 0.92173,
"c": 0.15214,
"h": 115
},
"luminance": 0.80294
}Semantic roles & 50–950 ramp
primary
#E2F172
secondary
#4E3DCA
accent
#07DE21
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17170F
muted
#858580