#E2E946#E2E946
#E2E946 is a very light, vivid yellow. Relative luminance 0.749; OKLCH L 90.1% C 0.177 H 111.9°. Best body text is #000000 at 15.98:1 contrast (WCAG AA passes).
Color values
| HEX | #E2E946 |
|---|---|
| RGB | rgb(226, 233, 70) |
| HSL | hsl(63, 79%, 59%) |
| HSV | hsv(63, 70%, 91%) |
| CMYK | cmyk(3%, 0%, 70%, 8.6%) |
| CIE-LAB | lab(89.34, -21.34, 73.92) |
| CIE-LCH | lch(89.34, 76.94, 106.10°) |
| OKLab | oklab(90.08% -0.066 0.1641) |
| OKLCH | oklch(90.08% 0.177 111.9) |
| XYZ | xyz(61.6104, 74.8903, 17.0029) |
| Luminance | 0.7489 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Off Yellow
#F1F33F
ΔE00 2.95
Sickly Yellow
#D0E429
ΔE00 3.13
Banana Yellow
#FAFE4B
ΔE00 4.73
Canary
#FDFF63
ΔE00 4.94
Lemon (survey)
#FDFF52
ΔE00 4.98
Yellowish
#FAEE66
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2E946 #4D46E9
analogous
#E99F46 #E2E946 #90E946
triadic
#E2E946 #46E2E9 #E946E2
tetradic
#E2E946 #46E99F #4D46E9 #E94690
square
#E2E946 #46E99F #4D46E9 #E94690
split-complementary
#E2E946 #4690E9 #9F46E9
monochromatic
#9BA113 #D0D81A #E2E946 #EBF07D #F3F6B3
Accessibility & contrast
On white
1.31
#E2E946 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.98
#E2E946 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2E946
15.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2E946 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2E946 | 1.00 | 1.31 | 15.98 | 15.98 |
| #FFFFFF | 1.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FBDE29
Deuteranopia (green-blind)
#FBE252
Tritanopia (blue-blind)
#F1DBC9
Achromatopsia (no color)
#E0E0E0
Design tokens & code
CSS
--color: #e2e946; /* rgb */ color: rgb(226, 233, 70); /* oklch */ color: oklch(90.1% 0.177 111.9);
Tailwind
colors: {
custom: {
50: '#efef84',
500: '#e2e946',
950: '#000000',
},
}SCSS
$custom: #e2e946; $custom-light: #efef84; $custom-dark: #000000;
JSON
{
"hex": "#e2e946",
"rgb": {
"r": 226,
"g": 233,
"b": 70
},
"hsl": {
"h": 62.577,
"s": 78.744,
"l": 59.412
},
"oklch": {
"l": 0.90079,
"c": 0.17691,
"h": 111.9
},
"luminance": 0.74889
}Semantic roles & 50–950 ramp
primary
#E2E946
secondary
#342FA4
accent
#33F53B
background
#FFFFFC
surface
#FFFEF3
border
#D7D6CD
text
#17160C
muted
#85857F