#E7F162#E7F162
#E7F162 is a very light, vivid yellow. Relative luminance 0.808; OKLCH L 92.4% C 0.165 H 112.9°. Best body text is #000000 at 17.16:1 contrast (WCAG AA passes).
Color values
| HEX | #E7F162 |
|---|---|
| RGB | rgb(231, 241, 98) |
| HSL | hsl(64, 84%, 66%) |
| HSV | hsv(64, 59%, 95%) |
| CMYK | cmyk(4.1%, 0%, 59.3%, 5.5%) |
| CIE-LAB | lab(92.03, -21.53, 66.07) |
| CIE-LCH | lch(92.03, 69.49, 108.05°) |
| OKLab | oklab(92.39% -0.0641 0.1516) |
| OKLCH | oklch(92.39% 0.165 112.9) |
| XYZ | xyz(66.6165, 80.7827, 23.6363) |
| Luminance | 0.8078 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Canary
#FDFF63
ΔE00 3.91
Pastel Yellow
#FFFE71
ΔE00 3.92
Butter Yellow
#FFFD74
ΔE00 3.95
Yellowish Tan
#FCFC81
ΔE00 3.99
Custard
#FFFD78
ΔE00 4.01
Off Yellow
#F1F33F
ΔE00 4.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7F162 #6C62F1
analogous
#F1B462 #E7F162 #A0F162
triadic
#E7F162 #62E7F1 #F162E7
tetradic
#E7F162 #62F1B4 #6C62F1 #F162A0
square
#E7F162 #62F1B4 #6C62F1 #F162A0
split-complementary
#E7F162 #62A0F1 #B462F1
monochromatic
#BAC712 #DEEC2A #E7F162 #F0F69A #F8FBD2
Accessibility & contrast
On white
1.22
#E7F162 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.16
#E7F162 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7F162
17.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7F162 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7F162 | 1.00 | 1.22 | 17.16 | 17.16 |
| #FFFFFF | 1.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE751
Deuteranopia (green-blind)
#FFEA6B
Tritanopia (blue-blind)
#F5E4D3
Achromatopsia (no color)
#E8E8E8
Design tokens & code
CSS
--color: #e7f162; /* rgb */ color: rgb(231, 241, 98); /* oklch */ color: oklch(92.4% 0.165 112.9);
Tailwind
colors: {
custom: {
50: '#f1f594',
500: '#e7f162',
950: '#000000',
},
}SCSS
$custom: #e7f162; $custom-light: #f1f594; $custom-dark: #000000;
JSON
{
"hex": "#e7f162",
"rgb": {
"r": 231,
"g": 241,
"b": 98
},
"hsl": {
"h": 64.196,
"s": 83.626,
"l": 66.471
},
"oklch": {
"l": 0.9239,
"c": 0.16455,
"h": 112.9
},
"luminance": 0.80781
}Semantic roles & 50–950 ramp
primary
#E7F162
secondary
#3D33C4
accent
#05E015
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F