#E2E12F#E2E12F
#E2E12F is a very light, vivid yellow. Relative luminance 0.702; OKLCH L 88.3% C 0.181 H 109.3°. Best body text is #000000 at 15.04:1 contrast (WCAG AA passes).
Color values
| HEX | #E2E12F |
|---|---|
| RGB | rgb(226, 225, 47) |
| HSL | hsl(60, 76%, 54%) |
| HSV | hsv(60, 79%, 89%) |
| CMYK | cmyk(0%, 0.4%, 79.2%, 11.4%) |
| CIE-LAB | lab(87.11, -18.38, 78.92) |
| CIE-LCH | lch(87.11, 81.03, 103.11°) |
| OKLab | oklab(88.26% -0.0596 0.1708) |
| OKLCH | oklch(88.26% 0.181 109.3) |
| XYZ | xyz(58.8046, 70.2263, 13.1462) |
| Luminance | 0.7022 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Piss Yellow
#DDD618
ΔE00 2.75
Off Yellow
#F1F33F
ΔE00 3.85
Sickly Yellow
#D0E429
ΔE00 4.33
Yellowish
#FAEE66
ΔE00 5.18
Dull Yellow
#EEDC5B
ΔE00 5.35
Lemon
#FFF700
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2E12F #2F30E2
analogous
#E2872F #E2E12F #89E22F
triadic
#E2E12F #2FE2E1 #E12FE2
tetradic
#E2E12F #2FE287 #2F30E2 #E22F89
square
#E2E12F #2FE287 #2F30E2 #E22F89
split-complementary
#E2E12F #2F89E2 #872FE2
monochromatic
#848412 #BAB91A #E2E12F #E9E965 #F1F09A
Accessibility & contrast
On white
1.40
#E2E12F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.04
#E2E12F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2E12F
15.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2E12F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2E12F | 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)
#F6DD40
Tritanopia (blue-blind)
#F2D2C1
Achromatopsia (no color)
#DADADA
Design tokens & code
CSS
--color: #e2e12f; /* rgb */ color: rgb(226, 225, 47); /* oklch */ color: oklch(88.3% 0.181 109.3);
Tailwind
colors: {
custom: {
50: '#efea78',
500: '#e2e12f',
950: '#000000',
},
}SCSS
$custom: #e2e12f; $custom-light: #efea78; $custom-dark: #000000;
JSON
{
"hex": "#e2e12f",
"rgb": {
"r": 226,
"g": 225,
"b": 47
},
"hsl": {
"h": 59.665,
"s": 75.527,
"l": 53.529
},
"oklch": {
"l": 0.88257,
"c": 0.18091,
"h": 109.3
},
"luminance": 0.70224
}Semantic roles & 50–950 ramp
primary
#E2E12F
secondary
#2B2B8A
accent
#37F236
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17160A
muted
#85847D