#E8F162#E8F162
#E8F162 is a very light, vivid yellow. Relative luminance 0.809; OKLCH L 92.5% C 0.164 H 112.6°. Best body text is #000000 at 17.19:1 contrast (WCAG AA passes).
Color values
| HEX | #E8F162 |
|---|---|
| RGB | rgb(232, 241, 98) |
| HSL | hsl(64, 84%, 66%) |
| HSV | hsv(64, 59%, 95%) |
| CMYK | cmyk(3.7%, 0%, 59.3%, 5.5%) |
| CIE-LAB | lab(92.11, -21.13, 66.17) |
| CIE-LCH | lch(92.11, 69.46, 107.71°) |
| OKLab | oklab(92.47% -0.063 0.1517) |
| OKLCH | oklch(92.47% 0.164 112.6) |
| XYZ | xyz(66.9403, 80.9496, 23.6514) |
| Luminance | 0.8095 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pastel Yellow
#FFFE71
ΔE00 3.76
Canary
#FDFF63
ΔE00 3.77
Butter Yellow
#FFFD74
ΔE00 3.79
Custard
#FFFD78
ΔE00 3.86
Off Yellow
#F1F33F
ΔE00 3.87
Yellowish Tan
#FCFC81
ΔE00 3.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E8F162 #6B62F1
analogous
#F1B362 #E8F162 #A1F162
triadic
#E8F162 #62E8F1 #F162E8
tetradic
#E8F162 #62F1B3 #6B62F1 #F162A1
square
#E8F162 #62F1B3 #6B62F1 #F162A1
split-complementary
#E8F162 #62A1F1 #B362F1
monochromatic
#BBC712 #E0EC2A #E8F162 #F0F69A #F8FBD2
Accessibility & contrast
On white
1.22
#E8F162 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.19
#E8F162 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E8F162
17.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E8F162 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E8F162 | 1.00 | 1.22 | 17.19 | 17.19 |
| #FFFFFF | 1.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE751
Deuteranopia (green-blind)
#FFEA6B
Tritanopia (blue-blind)
#F6E4D3
Achromatopsia (no color)
#E8E8E8
Design tokens & code
CSS
--color: #e8f162; /* rgb */ color: rgb(232, 241, 98); /* oklch */ color: oklch(92.5% 0.164 112.6);
Tailwind
colors: {
custom: {
50: '#f2f594',
500: '#e8f162',
950: '#000000',
},
}SCSS
$custom: #e8f162; $custom-light: #f2f594; $custom-dark: #000000;
JSON
{
"hex": "#e8f162",
"rgb": {
"r": 232,
"g": 241,
"b": 98
},
"hsl": {
"h": 63.776,
"s": 83.626,
"l": 66.471
},
"oklch": {
"l": 0.92468,
"c": 0.16432,
"h": 112.6
},
"luminance": 0.80948
}Semantic roles & 50–950 ramp
primary
#E8F162
secondary
#3C33C4
accent
#05E013
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F