#E2D752#E2D752
#E2D752 is a very light, vivid yellow. Relative luminance 0.654; OKLCH L 86.4% C 0.151 H 104.6°. Best body text is #000000 at 14.08:1 contrast (WCAG AA passes).
Color values
| HEX | #E2D752 |
|---|---|
| RGB | rgb(226, 215, 82) |
| HSL | hsl(55, 71%, 60%) |
| HSV | hsv(55, 64%, 89%) |
| CMYK | cmyk(0%, 4.9%, 63.7%, 11.4%) |
| CIE-LAB | lab(84.68, -11.85, 64.66) |
| CIE-LCH | lch(84.68, 65.74, 100.38°) |
| OKLab | oklab(86.39% -0.0381 0.1465) |
| OKLCH | oklch(86.39% 0.151 104.6) |
| XYZ | xyz(57.1896, 65.3809, 17.5883) |
| Luminance | 0.6538 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.30
Piss Yellow
#DDD618
ΔE00 3.91
Yellowish
#FAEE66
ΔE00 5.13
Sand Yellow
#FCE166
ΔE00 5.15
Sandy Yellow
#FDEE73
ΔE00 5.51
Dirty Yellow
#CDC50A
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2D752 #525DE2
analogous
#E28F52 #E2D752 #A5E252
triadic
#E2D752 #52E2D7 #D752E2
tetradic
#E2D752 #52E28F #525DE2 #E252A5
square
#E2D752 #52E28F #525DE2 #E252A5
split-complementary
#E2D752 #52A5E2 #8F52E2
monochromatic
#9F951B #D3C623 #E2D752 #EBE386 #F4EFBB
Accessibility & contrast
On white
1.49
#E2D752 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.08
#E2D752 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2D752
14.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2D752 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2D752 | 1.00 | 1.49 | 14.08 | 14.08 |
| #FFFFFF | 1.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E9D041
Deuteranopia (green-blind)
#EDD65A
Tritanopia (blue-blind)
#F2C9BB
Achromatopsia (no color)
#D3D3D3
Design tokens & code
CSS
--color: #e2d752; /* rgb */ color: rgb(226, 215, 82); /* oklch */ color: oklch(86.4% 0.151 104.6);
Tailwind
colors: {
custom: {
50: '#eee389',
500: '#e2d752',
950: '#000000',
},
}SCSS
$custom: #e2d752; $custom-light: #eee389; $custom-dark: #000000;
JSON
{
"hex": "#e2d752",
"rgb": {
"r": 226,
"g": 215,
"b": 82
},
"hsl": {
"h": 55.417,
"s": 71.287,
"l": 60.392
},
"oklch": {
"l": 0.86385,
"c": 0.15138,
"h": 104.6
},
"luminance": 0.65379
}Semantic roles & 50–950 ramp
primary
#E2D752
secondary
#363EA2
accent
#21D312
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F