#E2E142#E2E142
#E2E142 is a very light, vivid yellow. Relative luminance 0.704; OKLCH L 88.4% C 0.171 H 109.1°. Best body text is #000000 at 15.08:1 contrast (WCAG AA passes).
Color values
| HEX | #E2E142 |
|---|---|
| RGB | rgb(226, 225, 66) |
| HSL | hsl(60, 73%, 57%) |
| HSV | hsv(60, 71%, 89%) |
| CMYK | cmyk(0%, 0.4%, 70.8%, 11.4%) |
| CIE-LAB | lab(87.20, -17.64, 73.23) |
| CIE-LCH | lch(87.20, 75.32, 103.55°) |
| OKLab | oklab(88.36% -0.056 0.162) |
| OKLCH | oklch(88.36% 0.171 109.1) |
| XYZ | xyz(59.2748, 70.4143, 15.6221) |
| Luminance | 0.7041 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Piss Yellow
#DDD618
ΔE00 3.34
Off Yellow
#F1F33F
ΔE00 4.05
Sickly Yellow
#D0E429
ΔE00 4.33
Yellowish
#FAEE66
ΔE00 4.55
Dull Yellow
#EEDC5B
ΔE00 4.70
Sandy Yellow
#FDEE73
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2E142 #4243E2
analogous
#E29142 #E2E142 #93E242
triadic
#E2E142 #42E2E1 #E142E2
tetradic
#E2E142 #42E291 #4243E2 #E24293
square
#E2E142 #42E291 #4243E2 #E24293
split-complementary
#E2E142 #4293E2 #9142E2
monochromatic
#939217 #C8C71F #E2E142 #EAE977 #F2F2AC
Accessibility & contrast
On white
1.39
#E2E142 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.08
#E2E142 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2E142
15.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2E142 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2E142 | 1.00 | 1.39 | 15.08 | 15.08 |
| #FFFFFF | 1.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F3D825
Deuteranopia (green-blind)
#F5DD4E
Tritanopia (blue-blind)
#F2D3C2
Achromatopsia (no color)
#DADADA
Design tokens & code
CSS
--color: #e2e142; /* rgb */ color: rgb(226, 225, 66); /* oklch */ color: oklch(88.4% 0.171 109.1);
Tailwind
colors: {
custom: {
50: '#efea81',
500: '#e2e142',
950: '#000000',
},
}SCSS
$custom: #e2e142; $custom-light: #efea81; $custom-dark: #000000;
JSON
{
"hex": "#e2e142",
"rgb": {
"r": 226,
"g": 225,
"b": 66
},
"hsl": {
"h": 59.625,
"s": 73.394,
"l": 57.255
},
"oklch": {
"l": 0.88359,
"c": 0.17141,
"h": 109.1
},
"luminance": 0.70413
}Semantic roles & 50–950 ramp
primary
#E2E142
secondary
#313198
accent
#39F038
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17160B
muted
#85847E