#E2E031#E2E031
#E2E031 is a very light, vivid yellow. Relative luminance 0.697; OKLCH L 88.1% C 0.179 H 108.9°. Best body text is #000000 at 14.94:1 contrast (WCAG AA passes).
Color values
| HEX | #E2E031 |
|---|---|
| RGB | rgb(226, 224, 49) |
| HSL | hsl(59, 75%, 54%) |
| HSV | hsv(59, 78%, 89%) |
| CMYK | cmyk(0%, 0.9%, 78.3%, 11.4%) |
| CIE-LAB | lab(86.85, -17.83, 78.16) |
| CIE-LCH | lch(86.85, 80.17, 102.85°) |
| OKLab | oklab(88.05% -0.058 0.1695) |
| OKLCH | oklch(88.05% 0.179 108.9) |
| XYZ | xyz(58.5764, 69.7037, 13.2737) |
| Luminance | 0.6970 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Piss Yellow
#DDD618
ΔE00 2.53
Off Yellow
#F1F33F
ΔE00 4.07
Sickly Yellow
#D0E429
ΔE00 4.52
Dull Yellow
#EEDC5B
ΔE00 5.09
Yellowish
#FAEE66
ΔE00 5.12
Lemon
#FFF700
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2E031 #3133E2
analogous
#E28831 #E2E031 #8CE231
triadic
#E2E031 #31E2E0 #E031E2
tetradic
#E2E031 #31E288 #3133E2 #E2318C
square
#E2E031 #31E288 #3133E2 #E2318C
split-complementary
#E2E031 #318CE2 #8831E2
monochromatic
#868413 #BBBA1A #E2E031 #EAE867 #F1F09C
Accessibility & contrast
On white
1.41
#E2E031 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.94
#E2E031 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2E031
14.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2E031 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2E031 | 1.00 | 1.41 | 14.94 | 14.94 |
| #FFFFFF | 1.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F3D700
Deuteranopia (green-blind)
#F5DC41
Tritanopia (blue-blind)
#F3D1C0
Achromatopsia (no color)
#D9D9D9
Design tokens & code
CSS
--color: #e2e031; /* rgb */ color: rgb(226, 224, 49); /* oklch */ color: oklch(88.1% 0.179 108.9);
Tailwind
colors: {
custom: {
50: '#efe979',
500: '#e2e031',
950: '#000000',
},
}SCSS
$custom: #e2e031; $custom-light: #efe979; $custom-dark: #000000;
JSON
{
"hex": "#e2e031",
"rgb": {
"r": 226,
"g": 224,
"b": 49
},
"hsl": {
"h": 59.322,
"s": 75.319,
"l": 53.922
},
"oklch": {
"l": 0.88054,
"c": 0.17914,
"h": 108.9
},
"luminance": 0.69702
}Semantic roles & 50–950 ramp
primary
#E2E031
secondary
#2B2C8C
accent
#38F236
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17160A
muted
#85847D