#E1D152#E1D152
#E1D152 is a very light, vivid yellow. Relative luminance 0.622; OKLCH L 85.1% C 0.146 H 102.1°. Best body text is #000000 at 13.44:1 contrast (WCAG AA passes).
Color values
| HEX | #E1D152 |
|---|---|
| RGB | rgb(225, 209, 82) |
| HSL | hsl(53, 70%, 60%) |
| HSV | hsv(53, 64%, 88%) |
| CMYK | cmyk(0%, 7.1%, 63.6%, 11.8%) |
| CIE-LAB | lab(83.03, -9.25, 62.89) |
| CIE-LCH | lch(83.03, 63.57, 98.37°) |
| OKLab | oklab(85.05% -0.0307 0.1428) |
| OKLCH | oklch(85.05% 0.146 102.1) |
| XYZ | xyz(55.3770, 62.2199, 17.0737) |
| Luminance | 0.6222 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.67
Piss Yellow
#DDD618
ΔE00 4.78
Sand Yellow
#FCE166
ΔE00 5.01
Sandy
#F1DA7A
ΔE00 5.15
Light Mustard
#F7D560
ΔE00 5.27
Dirty Yellow
#CDC50A
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E1D152 #5262E1
analogous
#E18A52 #E1D152 #A9E152
triadic
#E1D152 #52E1D1 #D152E1
tetradic
#E1D152 #52E18A #5262E1 #E152A9
square
#E1D152 #52E18A #5262E1 #E152A9
split-complementary
#E1D152 #52A9E1 #8A52E1
monochromatic
#9D8F1B #D1BE24 #E1D152 #EADF86 #F3EDBA
Accessibility & contrast
On white
1.56
#E1D152 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.44
#E1D152 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E1D152
13.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E1D152 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E1D152 | 1.00 | 1.56 | 13.44 | 13.44 |
| #FFFFFF | 1.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E3CB42
Deuteranopia (green-blind)
#E8D259
Tritanopia (blue-blind)
#F1C3B6
Achromatopsia (no color)
#CFCFCF
Design tokens & code
CSS
--color: #e1d152; /* rgb */ color: rgb(225, 209, 82); /* oklch */ color: oklch(85.1% 0.146 102.1);
Tailwind
colors: {
custom: {
50: '#eede88',
500: '#e1d152',
950: '#000000',
},
}SCSS
$custom: #e1d152; $custom-light: #eede88; $custom-dark: #000000;
JSON
{
"hex": "#e1d152",
"rgb": {
"r": 225,
"g": 209,
"b": 82
},
"hsl": {
"h": 53.287,
"s": 70.443,
"l": 60.196
},
"oklch": {
"l": 0.85054,
"c": 0.14604,
"h": 102.1
},
"luminance": 0.62218
}Semantic roles & 50–950 ramp
primary
#E1D152
secondary
#3742A1
accent
#28D213
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F