#E2D152#E2D152
#E2D152 is a very light, vivid yellow. Relative luminance 0.624; OKLCH L 85.1% C 0.146 H 101.7°. Best body text is #000000 at 13.48:1 contrast (WCAG AA passes).
Color values
| HEX | #E2D152 |
|---|---|
| RGB | rgb(226, 209, 82) |
| HSL | hsl(53, 71%, 60%) |
| HSV | hsv(53, 64%, 89%) |
| CMYK | cmyk(0%, 7.5%, 63.7%, 11.4%) |
| CIE-LAB | lab(83.12, -8.83, 63.01) |
| CIE-LCH | lch(83.12, 63.62, 97.98°) |
| OKLab | oklab(85.14% -0.0295 0.143) |
| OKLCH | oklch(85.14% 0.146 101.7) |
| XYZ | xyz(55.6897, 62.3812, 17.0883) |
| Luminance | 0.6238 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.60
Sand Yellow
#FCE166
ΔE00 4.84
Piss Yellow
#DDD618
ΔE00 4.87
Light Mustard
#F7D560
ΔE00 5.02
Sandy
#F1DA7A
ΔE00 5.04
Maize
#F4D054
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2D152 #5263E2
analogous
#E28952 #E2D152 #ABE252
triadic
#E2D152 #52E2D1 #D152E2
tetradic
#E2D152 #52E289 #5263E2 #E252AB
square
#E2D152 #52E289 #5263E2 #E252AB
split-complementary
#E2D152 #52ABE2 #8952E2
monochromatic
#9F8F1B #D3BF23 #E2D152 #EBDF86 #F4EDBB
Accessibility & contrast
On white
1.56
#E2D152 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.48
#E2D152 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2D152
13.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2D152 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2D152 | 1.00 | 1.56 | 13.48 | 13.48 |
| #FFFFFF | 1.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E3CB42
Deuteranopia (green-blind)
#E8D259
Tritanopia (blue-blind)
#F2C3B6
Achromatopsia (no color)
#CFCFCF
Design tokens & code
CSS
--color: #e2d152; /* rgb */ color: rgb(226, 209, 82); /* oklch */ color: oklch(85.1% 0.146 101.7);
Tailwind
colors: {
custom: {
50: '#eede88',
500: '#e2d152',
950: '#000000',
},
}SCSS
$custom: #e2d152; $custom-light: #eede88; $custom-dark: #000000;
JSON
{
"hex": "#e2d152",
"rgb": {
"r": 226,
"g": 209,
"b": 82
},
"hsl": {
"h": 52.917,
"s": 71.287,
"l": 60.392
},
"oklch": {
"l": 0.85142,
"c": 0.14602,
"h": 101.7
},
"luminance": 0.62379
}Semantic roles & 50–950 ramp
primary
#E2D152
secondary
#3643A2
accent
#29D312
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F