#E2E22D#E2E22D
#E2E22D is a very light, vivid yellow. Relative luminance 0.708; OKLCH L 88.5% C 0.183 H 109.6°. Best body text is #000000 at 15.15:1 contrast (WCAG AA passes).
Color values
| HEX | #E2E22D |
|---|---|
| RGB | rgb(226, 226, 45) |
| HSL | hsl(60, 76%, 53%) |
| HSV | hsv(60, 80%, 89%) |
| CMYK | cmyk(0%, 0%, 80.1%, 11.4%) |
| CIE-LAB | lab(87.36, -18.93, 79.66) |
| CIE-LCH | lch(87.36, 81.88, 103.37°) |
| OKLab | oklab(88.46% -0.0613 0.172) |
| OKLCH | oklch(88.46% 0.183 109.6) |
| XYZ | xyz(59.0363, 70.7528, 13.0289) |
| Luminance | 0.7075 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Piss Yellow
#DDD618
ΔE00 2.99
Off Yellow
#F1F33F
ΔE00 3.64
Sickly Yellow
#D0E429
ΔE00 4.14
Yellowish
#FAEE66
ΔE00 5.25
Dull Yellow
#EEDC5B
ΔE00 5.61
Lemon
#FFF700
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2E22D #2D2DE2
analogous
#E2872D #E2E22D #87E22D
triadic
#E2E22D #2DE2E2 #E22DE2
tetradic
#E2E22D #2DE287 #2D2DE2 #E22D87
square
#E2E22D #2DE287 #2D2DE2 #E22D87
split-complementary
#E2E22D #2D87E2 #872DE2
monochromatic
#838312 #B8B819 #E2E22D #E9E963 #F1F199
Accessibility & contrast
On white
1.39
#E2E22D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.15
#E2E22D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2E22D
15.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2E22D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2E22D | 1.00 | 1.39 | 15.15 | 15.15 |
| #FFFFFF | 1.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F5D800
Deuteranopia (green-blind)
#F7DD3F
Tritanopia (blue-blind)
#F2D3C2
Achromatopsia (no color)
#DBDBDB
Design tokens & code
CSS
--color: #e2e22d; /* rgb */ color: rgb(226, 226, 45); /* oklch */ color: oklch(88.5% 0.183 109.6);
Tailwind
colors: {
custom: {
50: '#f0ea78',
500: '#e2e22d',
950: '#000000',
},
}SCSS
$custom: #e2e22d; $custom-light: #f0ea78; $custom-dark: #000000;
JSON
{
"hex": "#e2e22d",
"rgb": {
"r": 226,
"g": 226,
"b": 45
},
"hsl": {
"h": 60,
"s": 75.732,
"l": 53.137
},
"oklch": {
"l": 0.8846,
"c": 0.18264,
"h": 109.6
},
"luminance": 0.70751
}Semantic roles & 50–950 ramp
primary
#E2E22D
secondary
#2A2A89
accent
#35F235
background
#FFFEFB
surface
#FFFDF2
border
#D7D5CC
text
#17160A
muted
#85847D