#E2E12D#E2E12D
#E2E12D is a very light, vivid yellow. Relative luminance 0.702; OKLCH L 88.2% C 0.182 H 109.3°. Best body text is #000000 at 15.04:1 contrast (WCAG AA passes).
Color values
| HEX | #E2E12D |
|---|---|
| RGB | rgb(226, 225, 45) |
| HSL | hsl(60, 76%, 53%) |
| HSV | hsv(60, 80%, 89%) |
| CMYK | cmyk(0%, 0.4%, 80.1%, 11.4%) |
| CIE-LAB | lab(87.10, -18.44, 79.43) |
| CIE-LCH | lch(87.10, 81.54, 103.07°) |
| OKLab | oklab(88.25% -0.06 0.1715) |
| OKLCH | oklch(88.25% 0.182 109.3) |
| XYZ | xyz(58.7652, 70.2105, 12.9386) |
| Luminance | 0.7021 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Piss Yellow
#DDD618
ΔE00 2.73
Off Yellow
#F1F33F
ΔE00 3.85
Sickly Yellow
#D0E429
ΔE00 4.35
Yellowish
#FAEE66
ΔE00 5.24
Dull Yellow
#EEDC5B
ΔE00 5.42
Lemon
#FFF700
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2E12D #2D2EE2
analogous
#E2872D #E2E12D #88E22D
triadic
#E2E12D #2DE2E1 #E12DE2
tetradic
#E2E12D #2DE287 #2D2EE2 #E22D88
square
#E2E12D #2DE287 #2D2EE2 #E22D88
split-complementary
#E2E12D #2D88E2 #872DE2
monochromatic
#838212 #B8B719 #E2E12D #E9E963 #F1F099
Accessibility & contrast
On white
1.40
#E2E12D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.04
#E2E12D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2E12D
15.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2E12D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2E12D | 1.00 | 1.40 | 15.04 | 15.04 |
| #FFFFFF | 1.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F4D700
Deuteranopia (green-blind)
#F6DD3E
Tritanopia (blue-blind)
#F3D2C1
Achromatopsia (no color)
#DADADA
Design tokens & code
CSS
--color: #e2e12d; /* rgb */ color: rgb(226, 225, 45); /* oklch */ color: oklch(88.2% 0.182 109.3);
Tailwind
colors: {
custom: {
50: '#f0ea77',
500: '#e2e12d',
950: '#000000',
},
}SCSS
$custom: #e2e12d; $custom-light: #f0ea77; $custom-dark: #000000;
JSON
{
"hex": "#e2e12d",
"rgb": {
"r": 226,
"g": 225,
"b": 45
},
"hsl": {
"h": 59.669,
"s": 75.732,
"l": 53.137
},
"oklch": {
"l": 0.88248,
"c": 0.18172,
"h": 109.3
},
"luminance": 0.70209
}Semantic roles & 50–950 ramp
primary
#E2E12D
secondary
#2A2B89
accent
#37F235
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17160A
muted
#85847D