#E2F562#E2F562
#E2F562 is a very light, vivid yellow. Relative luminance 0.824; OKLCH L 92.9% C 0.170 H 116.0°. Best body text is #000000 at 17.47:1 contrast (WCAG AA passes).
Color values
| HEX | #E2F562 |
|---|---|
| RGB | rgb(226, 245, 98) |
| HSL | hsl(68, 88%, 67%) |
| HSV | hsv(68, 60%, 96%) |
| CMYK | cmyk(7.8%, 0%, 60%, 3.9%) |
| CIE-LAB | lab(92.73, -25.41, 66.72) |
| CIE-LCH | lch(92.73, 71.40, 110.85°) |
| OKLab | oklab(92.86% -0.0747 0.153) |
| OKLCH | oklch(92.86% 0.17 116) |
| XYZ | xyz(66.2224, 82.3563, 23.9607) |
| Luminance | 0.8236 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pear
#CBF85F
ΔE00 4.72
Canary
#FDFF63
ΔE00 4.73
Faded Yellow
#FEFF7F
ΔE00 4.87
Sickly Yellow
#D0E429
ΔE00 4.94
Yellowish Tan
#FCFC81
ΔE00 4.95
Pastel Yellow
#FFFE71
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2F562 #7562F5
analogous
#F5BE62 #E2F562 #99F562
triadic
#E2F562 #62E2F5 #F562E2
tetradic
#E2F562 #62F5BE #7562F5 #F56299
square
#E2F562 #62F5BE #7562F5 #F56299
split-complementary
#E2F562 #6299F5 #BE62F5
monochromatic
#B6CF0D #D7F128 #E2F562 #EDF99C #F7FCD5
Accessibility & contrast
On white
1.20
#E2F562 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.47
#E2F562 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2F562
17.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2F562 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2F562 | 1.00 | 1.20 | 17.47 | 17.47 |
| #FFFFFF | 1.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE951
Deuteranopia (green-blind)
#FFEB6C
Tritanopia (blue-blind)
#EFE8D6
Achromatopsia (no color)
#EAEAEA
Design tokens & code
CSS
--color: #e2f562; /* rgb */ color: rgb(226, 245, 98); /* oklch */ color: oklch(92.9% 0.170 116.0);
Tailwind
colors: {
custom: {
50: '#eef894',
500: '#e2f562',
950: '#000000',
},
}SCSS
$custom: #e2f562; $custom-light: #eef894; $custom-dark: #000000;
JSON
{
"hex": "#e2f562",
"rgb": {
"r": 226,
"g": 245,
"b": 98
},
"hsl": {
"h": 67.755,
"s": 88.024,
"l": 67.255
},
"oklch": {
"l": 0.92858,
"c": 0.17031,
"h": 116
},
"luminance": 0.82355
}Semantic roles & 50–950 ramp
primary
#E2F562
secondary
#4430CB
accent
#01E51E
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17170E
muted
#85857F