#E2DC52#E2DC52
#E2DC52 is a very light, vivid yellow. Relative luminance 0.680; OKLCH L 87.4% C 0.156 H 106.8°. Best body text is #000000 at 14.59:1 contrast (WCAG AA passes).
Color values
| HEX | #E2DC52 |
|---|---|
| RGB | rgb(226, 220, 82) |
| HSL | hsl(58, 71%, 60%) |
| HSV | hsv(58, 64%, 89%) |
| CMYK | cmyk(0%, 2.7%, 63.7%, 11.4%) |
| CIE-LAB | lab(85.99, -14.34, 66.04) |
| CIE-LCH | lch(85.99, 67.58, 102.25°) |
| OKLab | oklab(87.43% -0.0452 0.1494) |
| OKLCH | oklch(87.43% 0.156 106.8) |
| XYZ | xyz(58.4823, 67.9663, 18.0192) |
| Luminance | 0.6796 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 3.11
Piss Yellow
#DDD618
ΔE00 3.81
Yellowish
#FAEE66
ΔE00 4.43
Sandy Yellow
#FDEE73
ΔE00 5.12
Off Yellow
#F1F33F
ΔE00 5.81
Sand Yellow
#FCE166
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2DC52 #5258E2
analogous
#E29452 #E2DC52 #A0E252
triadic
#E2DC52 #52E2DC #DC52E2
tetradic
#E2DC52 #52E294 #5258E2 #E252A0
square
#E2DC52 #52E294 #5258E2 #E252A0
split-complementary
#E2DC52 #52A0E2 #9452E2
monochromatic
#9F991B #D3CC23 #E2DC52 #EBE786 #F4F1BB
Accessibility & contrast
On white
1.44
#E2DC52 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.59
#E2DC52 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2DC52
14.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2DC52 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2DC52 | 1.00 | 1.44 | 14.59 | 14.59 |
| #FFFFFF | 1.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EED440
Deuteranopia (green-blind)
#F1DA5B
Tritanopia (blue-blind)
#F2CEBF
Achromatopsia (no color)
#D7D7D7
Design tokens & code
CSS
--color: #e2dc52; /* rgb */ color: rgb(226, 220, 82); /* oklch */ color: oklch(87.4% 0.156 106.8);
Tailwind
colors: {
custom: {
50: '#eee689',
500: '#e2dc52',
950: '#000000',
},
}SCSS
$custom: #e2dc52; $custom-light: #eee689; $custom-dark: #000000;
JSON
{
"hex": "#e2dc52",
"rgb": {
"r": 226,
"g": 220,
"b": 82
},
"hsl": {
"h": 57.5,
"s": 71.287,
"l": 60.392
},
"oklch": {
"l": 0.87428,
"c": 0.15609,
"h": 106.8
},
"luminance": 0.67964
}Semantic roles & 50–950 ramp
primary
#E2DC52
secondary
#363BA2
accent
#1AD312
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F