#E2E952#E2E952
#E2E952 is a very light, vivid yellow. Relative luminance 0.751; OKLCH L 90.2% C 0.169 H 111.9°. Best body text is #000000 at 16.01:1 contrast (WCAG AA passes).
Color values
| HEX | #E2E952 |
|---|---|
| RGB | rgb(226, 233, 82) |
| HSL | hsl(63, 77%, 62%) |
| HSV | hsv(63, 65%, 91%) |
| CMYK | cmyk(3%, 0%, 64.8%, 8.6%) |
| CIE-LAB | lab(89.42, -20.70, 69.60) |
| CIE-LCH | lch(89.42, 72.62, 106.56°) |
| OKLab | oklab(90.17% -0.0631 0.1569) |
| OKLCH | oklch(90.17% 0.169 111.9) |
| XYZ | xyz(62.0277, 75.0572, 19.2010) |
| Luminance | 0.7506 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sickly Yellow
#D0E429
ΔE00 3.56
Off Yellow
#F1F33F
ΔE00 3.58
Yellowish
#FAEE66
ΔE00 4.77
Canary
#FDFF63
ΔE00 4.93
Straw
#FCF679
ΔE00 5.00
Banana Yellow
#FAFE4B
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2E952 #5952E9
analogous
#E9A452 #E2E952 #97E952
triadic
#E2E952 #52E2E9 #E952E2
tetradic
#E2E952 #52E9A4 #5952E9 #E95297
square
#E2E952 #52E9A4 #5952E9 #E95297
split-complementary
#E2E952 #5297E9 #A452E9
monochromatic
#A4AB16 #D8E11D #E2E952 #EBF088 #F4F7BF
Accessibility & contrast
On white
1.31
#E2E952 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.01
#E2E952 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2E952
16.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2E952 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2E952 | 1.00 | 1.31 | 16.01 | 16.01 |
| #FFFFFF | 1.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FADF3D
Deuteranopia (green-blind)
#FBE35C
Tritanopia (blue-blind)
#F1DBCA
Achromatopsia (no color)
#E1E1E1
Design tokens & code
CSS
--color: #e2e952; /* rgb */ color: rgb(226, 233, 82); /* oklch */ color: oklch(90.2% 0.169 111.9);
Tailwind
colors: {
custom: {
50: '#eeef8a',
500: '#e2e952',
950: '#000000',
},
}SCSS
$custom: #e2e952; $custom-light: #eeef8a; $custom-dark: #000000;
JSON
{
"hex": "#e2e952",
"rgb": {
"r": 226,
"g": 233,
"b": 82
},
"hsl": {
"h": 62.781,
"s": 77.436,
"l": 61.765
},
"oklch": {
"l": 0.90166,
"c": 0.16914,
"h": 111.9
},
"luminance": 0.75056
}Semantic roles & 50–950 ramp
primary
#E2E952
secondary
#3933AC
accent
#0CDA15
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17160C
muted
#85857F