#E2D154#E2D154
#E2D154 is a very light, vivid yellow. Relative luminance 0.624; OKLCH L 85.2% C 0.144 H 101.6°. Best body text is #000000 at 13.48:1 contrast (WCAG AA passes).
Color values
| HEX | #E2D154 |
|---|---|
| RGB | rgb(226, 209, 84) |
| HSL | hsl(53, 71%, 61%) |
| HSV | hsv(53, 63%, 89%) |
| CMYK | cmyk(0%, 7.5%, 62.8%, 11.4%) |
| CIE-LAB | lab(83.13, -8.71, 62.19) |
| CIE-LCH | lch(83.13, 62.79, 97.97°) |
| OKLab | oklab(85.16% -0.029 0.1416) |
| OKLCH | oklch(85.16% 0.144 101.6) |
| XYZ | xyz(55.7669, 62.4120, 17.4950) |
| Luminance | 0.6241 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.61
Sand Yellow
#FCE166
ΔE00 4.81
Sandy
#F1DA7A
ΔE00 4.86
Light Mustard
#F7D560
ΔE00 4.97
Piss Yellow
#DDD618
ΔE00 5.06
Maize
#F4D054
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2D154 #5465E2
analogous
#E28A54 #E2D154 #ACE254
triadic
#E2D154 #54E2D1 #D154E2
tetradic
#E2D154 #54E28A #5465E2 #E254AC
square
#E2D154 #54E28A #5465E2 #E254AC
split-complementary
#E2D154 #54ACE2 #8A54E2
monochromatic
#A0901B #D5C024 #E2D154 #EBDF88 #F4EDBD
Accessibility & contrast
On white
1.56
#E2D154 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.48
#E2D154 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2D154
13.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2D154 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2D154 | 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)
#E3CB45
Deuteranopia (green-blind)
#E8D25B
Tritanopia (blue-blind)
#F2C3B7
Achromatopsia (no color)
#CFCFCF
Design tokens & code
CSS
--color: #e2d154; /* rgb */ color: rgb(226, 209, 84); /* oklch */ color: oklch(85.2% 0.144 101.6);
Tailwind
colors: {
custom: {
50: '#eede89',
500: '#e2d154',
950: '#000000',
},
}SCSS
$custom: #e2d154; $custom-light: #eede89; $custom-dark: #000000;
JSON
{
"hex": "#e2d154",
"rgb": {
"r": 226,
"g": 209,
"b": 84
},
"hsl": {
"h": 52.817,
"s": 71,
"l": 60.784
},
"oklch": {
"l": 0.85161,
"c": 0.14448,
"h": 101.6
},
"luminance": 0.6241
}Semantic roles & 50–950 ramp
primary
#E2D154
secondary
#3744A3
accent
#2AD312
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F