#E2E02F#E2E02F
#E2E02F is a very light, vivid yellow. Relative luminance 0.697; OKLCH L 88.0% C 0.180 H 108.9°. Best body text is #000000 at 14.94:1 contrast (WCAG AA passes).
Color values
| HEX | #E2E02F |
|---|---|
| RGB | rgb(226, 224, 47) |
| HSL | hsl(59, 76%, 54%) |
| HSV | hsv(59, 79%, 89%) |
| CMYK | cmyk(0%, 0.9%, 79.2%, 11.4%) |
| CIE-LAB | lab(86.84, -17.89, 78.69) |
| CIE-LCH | lch(86.84, 80.70, 102.81°) |
| OKLab | oklab(88.05% -0.0583 0.1703) |
| OKLCH | oklch(88.05% 0.18 108.9) |
| XYZ | xyz(58.5351, 69.6872, 13.0564) |
| Luminance | 0.6968 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Piss Yellow
#DDD618
ΔE00 2.50
Off Yellow
#F1F33F
ΔE00 4.07
Sickly Yellow
#D0E429
ΔE00 4.54
Dull Yellow
#EEDC5B
ΔE00 5.16
Yellowish
#FAEE66
ΔE00 5.18
Lemon
#FFF700
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2E02F #2F31E2
analogous
#E2872F #E2E02F #8AE22F
triadic
#E2E02F #2FE2E0 #E02FE2
tetradic
#E2E02F #2FE287 #2F31E2 #E22F8A
square
#E2E02F #2FE287 #2F31E2 #E22F8A
split-complementary
#E2E02F #2F8AE2 #872FE2
monochromatic
#848312 #BAB81A #E2E02F #E9E865 #F1F09A
Accessibility & contrast
On white
1.41
#E2E02F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.94
#E2E02F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2E02F
14.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2E02F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2E02F | 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)
#F5DC40
Tritanopia (blue-blind)
#F3D1C0
Achromatopsia (no color)
#D9D9D9
Design tokens & code
CSS
--color: #e2e02f; /* rgb */ color: rgb(226, 224, 47); /* oklch */ color: oklch(88.0% 0.180 108.9);
Tailwind
colors: {
custom: {
50: '#efe978',
500: '#e2e02f',
950: '#000000',
},
}SCSS
$custom: #e2e02f; $custom-light: #efe978; $custom-dark: #000000;
JSON
{
"hex": "#e2e02f",
"rgb": {
"r": 226,
"g": 224,
"b": 47
},
"hsl": {
"h": 59.33,
"s": 75.527,
"l": 53.529
},
"oklch": {
"l": 0.88045,
"c": 0.17999,
"h": 108.9
},
"luminance": 0.69685
}Semantic roles & 50–950 ramp
primary
#E2E02F
secondary
#2B2C8A
accent
#38F236
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17160A
muted
#85847D