#E7F962#E7F962
#E7F962 is a very light, vivid yellow. Relative luminance 0.856; OKLCH L 94.1% C 0.173 H 115.6°. Best body text is #000000 at 18.12:1 contrast (WCAG AA passes).
Color values
| HEX | #E7F962 |
|---|---|
| RGB | rgb(231, 249, 98) |
| HSL | hsl(67, 93%, 68%) |
| HSV | hsv(67, 61%, 98%) |
| CMYK | cmyk(7.2%, 0%, 60.6%, 2.4%) |
| CIE-LAB | lab(94.15, -25.34, 68.36) |
| CIE-LCH | lch(94.15, 72.91, 110.33°) |
| OKLab | oklab(94.08% -0.0748 0.1564) |
| OKLCH | oklch(94.08% 0.173 115.6) |
| XYZ | xyz(69.0368, 85.6231, 24.4430) |
| Luminance | 0.8562 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Canary
#FDFF63
ΔE00 3.97
Pastel Yellow
#FFFE71
ΔE00 4.34
Faded Yellow
#FEFF7F
ΔE00 4.38
Light Yellow
#FFFE7A
ΔE00 4.51
Banana Yellow
#FAFE4B
ΔE00 4.52
Banana (survey)
#FFFF7E
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7F962 #7462F9
analogous
#F9BF62 #E7F962 #9CF962
triadic
#E7F962 #62E7F9 #F962E7
tetradic
#E7F962 #62F9BF #7462F9 #F9629C
square
#E7F962 #62F9BF #7462F9 #F9629C
split-complementary
#E7F962 #629CF9 #BF62F9
monochromatic
#C0D808 #DEF727 #E7F962 #F0FB9D #F9FED8
Accessibility & contrast
On white
1.16
#E7F962 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.12
#E7F962 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7F962
18.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7F962 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7F962 | 1.00 | 1.16 | 18.12 | 18.12 |
| #FFFFFF | 1.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFED50
Deuteranopia (green-blind)
#FFEF6C
Tritanopia (blue-blind)
#F4ECD9
Achromatopsia (no color)
#EEEEEE
Design tokens & code
CSS
--color: #e7f962; /* rgb */ color: rgb(231, 249, 98); /* oklch */ color: oklch(94.1% 0.173 115.6);
Tailwind
colors: {
custom: {
50: '#f2fb95',
500: '#e7f962',
950: '#000000',
},
}SCSS
$custom: #e7f962; $custom-light: #f2fb95; $custom-dark: #000000;
JSON
{
"hex": "#e7f962",
"rgb": {
"r": 231,
"g": 249,
"b": 98
},
"hsl": {
"h": 67.152,
"s": 92.638,
"l": 68.039
},
"oklch": {
"l": 0.94084,
"c": 0.17338,
"h": 115.6
},
"luminance": 0.85622
}Semantic roles & 50–950 ramp
primary
#E7F962
secondary
#412DD2
accent
#00E61B
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F