#E2F162#E2F162
#E2F162 is a very light, vivid yellow. Relative luminance 0.800; OKLCH L 92.0% C 0.166 H 114.7°. Best body text is #000000 at 16.99:1 contrast (WCAG AA passes).
Color values
| HEX | #E2F162 |
|---|---|
| RGB | rgb(226, 241, 98) |
| HSL | hsl(66, 84%, 66%) |
| HSV | hsv(66, 59%, 95%) |
| CMYK | cmyk(6.2%, 0%, 59.3%, 5.5%) |
| CIE-LAB | lab(91.67, -23.51, 65.56) |
| CIE-LCH | lch(91.67, 69.65, 109.73°) |
| OKLab | oklab(92.01% -0.0694 0.1506) |
| OKLCH | oklch(92.01% 0.166 114.7) |
| XYZ | xyz(65.0254, 79.9622, 23.5617) |
| Luminance | 0.7996 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sickly Yellow
#D0E429
ΔE00 4.59
Yellowish Tan
#FCFC81
ΔE00 4.67
Canary
#FDFF63
ΔE00 4.71
Faded Yellow
#FEFF7F
ΔE00 4.73
Pastel Yellow
#FFFE71
ΔE00 4.78
Light Yellow
#FFFE7A
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2F162 #7162F1
analogous
#F1B962 #E2F162 #9BF162
triadic
#E2F162 #62E2F1 #F162E2
tetradic
#E2F162 #62F1B9 #7162F1 #F1629B
square
#E2F162 #62F1B9 #7162F1 #F1629B
split-complementary
#E2F162 #629BF1 #B962F1
monochromatic
#B4C712 #D8EC2A #E2F162 #ECF69A #F7FBD2
Accessibility & contrast
On white
1.24
#E2F162 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.99
#E2F162 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2F162
16.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2F162 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2F162 | 1.00 | 1.24 | 16.99 | 16.99 |
| #FFFFFF | 1.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE651
Deuteranopia (green-blind)
#FFE86B
Tritanopia (blue-blind)
#EFE4D3
Achromatopsia (no color)
#E7E7E7
Design tokens & code
CSS
--color: #e2f162; /* rgb */ color: rgb(226, 241, 98); /* oklch */ color: oklch(92.0% 0.166 114.7);
Tailwind
colors: {
custom: {
50: '#eef594',
500: '#e2f162',
950: '#000000',
},
}SCSS
$custom: #e2f162; $custom-light: #eef594; $custom-dark: #000000;
JSON
{
"hex": "#e2f162",
"rgb": {
"r": 226,
"g": 241,
"b": 98
},
"hsl": {
"h": 66.294,
"s": 83.626,
"l": 66.471
},
"oklch": {
"l": 0.92006,
"c": 0.1658,
"h": 114.7
},
"luminance": 0.79961
}Semantic roles & 50–950 ramp
primary
#E2F162
secondary
#4233C4
accent
#05E01C
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17170E
muted
#85857F