#E2DB52#E2DB52
#E2DB52 is a very light, vivid yellow. Relative luminance 0.674; OKLCH L 87.2% C 0.155 H 106.4°. Best body text is #000000 at 14.49:1 contrast (WCAG AA passes).
Color values
| HEX | #E2DB52 |
|---|---|
| RGB | rgb(226, 219, 82) |
| HSL | hsl(57, 71%, 60%) |
| HSV | hsv(57, 64%, 89%) |
| CMYK | cmyk(0%, 3.1%, 63.7%, 11.4%) |
| CIE-LAB | lab(85.73, -13.84, 65.76) |
| CIE-LCH | lch(85.73, 67.21, 101.89°) |
| OKLab | oklab(87.22% -0.0438 0.1488) |
| OKLCH | oklch(87.22% 0.155 106.4) |
| XYZ | xyz(58.2206, 67.4429, 17.9320) |
| Luminance | 0.6744 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.90
Piss Yellow
#DDD618
ΔE00 3.77
Yellowish
#FAEE66
ΔE00 4.54
Sandy Yellow
#FDEE73
ΔE00 5.17
Sand Yellow
#FCE166
ΔE00 5.69
Off Yellow
#F1F33F
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2DB52 #5259E2
analogous
#E29352 #E2DB52 #A1E252
triadic
#E2DB52 #52E2DB #DB52E2
tetradic
#E2DB52 #52E293 #5259E2 #E252A1
square
#E2DB52 #52E293 #5259E2 #E252A1
split-complementary
#E2DB52 #52A1E2 #9352E2
monochromatic
#9F991B #D3CB23 #E2DB52 #EBE686 #F4F1BB
Accessibility & contrast
On white
1.45
#E2DB52 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.49
#E2DB52 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2DB52
14.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2DB52 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2DB52 | 1.00 | 1.45 | 14.49 | 14.49 |
| #FFFFFF | 1.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EDD340
Deuteranopia (green-blind)
#F0D95A
Tritanopia (blue-blind)
#F2CDBF
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #e2db52; /* rgb */ color: rgb(226, 219, 82); /* oklch */ color: oklch(87.2% 0.155 106.4);
Tailwind
colors: {
custom: {
50: '#eee589',
500: '#e2db52',
950: '#000000',
},
}SCSS
$custom: #e2db52; $custom-light: #eee589; $custom-dark: #000000;
JSON
{
"hex": "#e2db52",
"rgb": {
"r": 226,
"g": 219,
"b": 82
},
"hsl": {
"h": 57.083,
"s": 71.287,
"l": 60.392
},
"oklch": {
"l": 0.87219,
"c": 0.15513,
"h": 106.4
},
"luminance": 0.67441
}Semantic roles & 50–950 ramp
primary
#E2DB52
secondary
#363BA2
accent
#1CD312
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F