#E2E332#E2E332
#E2E332 is a very light, vivid yellow. Relative luminance 0.713; OKLCH L 88.7% C 0.181 H 109.9°. Best body text is #000000 at 15.27:1 contrast (WCAG AA passes).
Color values
| HEX | #E2E332 |
|---|---|
| RGB | rgb(226, 227, 50) |
| HSL | hsl(60, 76%, 54%) |
| HSV | hsv(60, 78%, 89%) |
| CMYK | cmyk(0.4%, 0%, 78%, 11%) |
| CIE-LAB | lab(87.65, -19.25, 78.59) |
| CIE-LCH | lch(87.65, 80.92, 103.77°) |
| OKLab | oklab(88.69% -0.0619 0.1706) |
| OKLCH | oklch(88.69% 0.181 109.9) |
| XYZ | xyz(59.4111, 71.3390, 13.6572) |
| Luminance | 0.7134 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Piss Yellow
#DDD618
ΔE00 3.32
Off Yellow
#F1F33F
ΔE00 3.43
Sickly Yellow
#D0E429
ΔE00 3.90
Yellowish
#FAEE66
ΔE00 5.12
Banana Yellow
#FAFE4B
ΔE00 5.64
Dull Yellow
#EEDC5B
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2E332 #3332E3
analogous
#E38C32 #E2E332 #8AE332
triadic
#E2E332 #32E2E3 #E332E2
tetradic
#E2E332 #32E38C #3332E3 #E3328A
square
#E2E332 #32E38C #3332E3 #E3328A
split-complementary
#E2E332 #328AE3 #8C32E3
monochromatic
#878813 #BDBE1A #E2E332 #EAEA68 #F1F29E
Accessibility & contrast
On white
1.38
#E2E332 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.27
#E2E332 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2E332
15.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2E332 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2E332 | 1.00 | 1.38 | 15.27 | 15.27 |
| #FFFFFF | 1.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F6D900
Deuteranopia (green-blind)
#F7DE42
Tritanopia (blue-blind)
#F2D4C3
Achromatopsia (no color)
#DCDCDC
Design tokens & code
CSS
--color: #e2e332; /* rgb */ color: rgb(226, 227, 50); /* oklch */ color: oklch(88.7% 0.181 109.9);
Tailwind
colors: {
custom: {
50: '#efeb7a',
500: '#e2e332',
950: '#000000',
},
}SCSS
$custom: #e2e332; $custom-light: #efeb7a; $custom-dark: #000000;
JSON
{
"hex": "#e2e332",
"rgb": {
"r": 226,
"g": 227,
"b": 50
},
"hsl": {
"h": 60.339,
"s": 75.966,
"l": 54.314
},
"oklch": {
"l": 0.88693,
"c": 0.18147,
"h": 109.9
},
"luminance": 0.71337
}Semantic roles & 50–950 ramp
primary
#E2E332
secondary
#2C2B8E
accent
#35F336
background
#FFFEFB
surface
#FFFDF2
border
#D7D5CC
text
#17160A
muted
#85847D