#E2E942#E2E942
#E2E942 is a very light, vivid yellow. Relative luminance 0.748; OKLCH L 90.1% C 0.179 H 111.9°. Best body text is #000000 at 15.97:1 contrast (WCAG AA passes).
Color values
| HEX | #E2E942 |
|---|---|
| RGB | rgb(226, 233, 66) |
| HSL | hsl(63, 79%, 59%) |
| HSV | hsv(63, 72%, 91%) |
| CMYK | cmyk(3%, 0%, 71.7%, 8.6%) |
| CIE-LAB | lab(89.32, -21.52, 75.26) |
| CIE-LCH | lch(89.32, 78.28, 105.96°) |
| OKLab | oklab(90.05% -0.0669 0.1663) |
| OKLCH | oklch(90.05% 0.179 111.9) |
| XYZ | xyz(61.4883, 74.8414, 16.3600) |
| Luminance | 0.7484 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Off Yellow
#F1F33F
ΔE00 2.81
Sickly Yellow
#D0E429
ΔE00 3.06
Banana Yellow
#FAFE4B
ΔE00 4.65
Lemon (survey)
#FDFF52
ΔE00 4.93
Canary
#FDFF63
ΔE00 4.99
Yellowish
#FAEE66
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2E942 #4942E9
analogous
#E99C42 #E2E942 #8EE942
triadic
#E2E942 #42E2E9 #E942E2
tetradic
#E2E942 #42E99C #4942E9 #E9428E
square
#E2E942 #42E99C #4942E9 #E9428E
split-complementary
#E2E942 #428EE9 #9C42E9
monochromatic
#989E12 #CDD519 #E2E942 #EAEF79 #F3F6B0
Accessibility & contrast
On white
1.32
#E2E942 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.97
#E2E942 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2E942
15.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2E942 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2E942 | 1.00 | 1.32 | 15.97 | 15.97 |
| #FFFFFF | 1.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FBDE21
Deuteranopia (green-blind)
#FBE24F
Tritanopia (blue-blind)
#F1DBC9
Achromatopsia (no color)
#E0E0E0
Design tokens & code
CSS
--color: #e2e942; /* rgb */ color: rgb(226, 233, 66); /* oklch */ color: oklch(90.1% 0.179 111.9);
Tailwind
colors: {
custom: {
50: '#efef82',
500: '#e2e942',
950: '#000000',
},
}SCSS
$custom: #e2e942; $custom-light: #efef82; $custom-dark: #000000;
JSON
{
"hex": "#e2e942",
"rgb": {
"r": 226,
"g": 233,
"b": 66
},
"hsl": {
"h": 62.515,
"s": 79.147,
"l": 58.627
},
"oklch": {
"l": 0.90053,
"c": 0.17923,
"h": 111.9
},
"luminance": 0.7484
}Semantic roles & 50–950 ramp
primary
#E2E942
secondary
#332EA1
accent
#32F63A
background
#FFFFFB
surface
#FFFEF2
border
#D7D6CC
text
#17160B
muted
#85857E