#E2D052#E2D052
#E2D052 is a very light, vivid yellow. Relative luminance 0.619; OKLCH L 84.9% C 0.145 H 101.2°. Best body text is #000000 at 13.38:1 contrast (WCAG AA passes).
Color values
| HEX | #E2D052 |
|---|---|
| RGB | rgb(226, 208, 82) |
| HSL | hsl(53, 71%, 60%) |
| HSV | hsv(53, 64%, 89%) |
| CMYK | cmyk(0%, 8%, 63.7%, 11.4%) |
| CIE-LAB | lab(82.86, -8.33, 62.73) |
| CIE-LCH | lch(82.86, 63.28, 97.56°) |
| OKLab | oklab(84.94% -0.0281 0.1424) |
| OKLCH | oklch(84.94% 0.145 101.2) |
| XYZ | xyz(55.4452, 61.8920, 17.0068) |
| Luminance | 0.6189 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.79
Light Mustard
#F7D560
ΔE00 4.83
Sand Yellow
#FCE166
ΔE00 4.86
Maize
#F4D054
ΔE00 4.87
Sandy
#F1DA7A
ΔE00 4.97
Piss Yellow
#DDD618
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2D052 #5264E2
analogous
#E28852 #E2D052 #ACE252
triadic
#E2D052 #52E2D0 #D052E2
tetradic
#E2D052 #52E288 #5264E2 #E252AC
square
#E2D052 #52E288 #5264E2 #E252AC
split-complementary
#E2D052 #52ACE2 #8852E2
monochromatic
#9F8E1B #D3BD23 #E2D052 #EBDE86 #F4ECBB
Accessibility & contrast
On white
1.57
#E2D052 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.38
#E2D052 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2D052
13.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2D052 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2D052 | 1.00 | 1.57 | 13.38 | 13.38 |
| #FFFFFF | 1.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E2CA43
Deuteranopia (green-blind)
#E7D259
Tritanopia (blue-blind)
#F2C2B6
Achromatopsia (no color)
#CECECE
Design tokens & code
CSS
--color: #e2d052; /* rgb */ color: rgb(226, 208, 82); /* oklch */ color: oklch(84.9% 0.145 101.2);
Tailwind
colors: {
custom: {
50: '#eede88',
500: '#e2d052',
950: '#000000',
},
}SCSS
$custom: #e2d052; $custom-light: #eede88; $custom-dark: #000000;
JSON
{
"hex": "#e2d052",
"rgb": {
"r": 226,
"g": 208,
"b": 82
},
"hsl": {
"h": 52.5,
"s": 71.287,
"l": 60.392
},
"oklch": {
"l": 0.84936,
"c": 0.14517,
"h": 101.2
},
"luminance": 0.6189
}Semantic roles & 50–950 ramp
primary
#E2D052
secondary
#3644A2
accent
#2AD312
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F