#E2D549#E2D549
#E2D549 is a very light, vivid yellow. Relative luminance 0.642; OKLCH L 85.9% C 0.156 H 104.0°. Best body text is #000000 at 13.85:1 contrast (WCAG AA passes).
Color values
| HEX | #E2D549 |
|---|---|
| RGB | rgb(226, 213, 73) |
| HSL | hsl(55, 73%, 59%) |
| HSV | hsv(55, 68%, 89%) |
| CMYK | cmyk(0%, 5.8%, 67.7%, 11.4%) |
| CIE-LAB | lab(84.09, -11.36, 67.62) |
| CIE-LCH | lch(84.09, 68.57, 99.53°) |
| OKLab | oklab(85.9% -0.0377 0.1513) |
| OKLCH | oklch(85.9% 0.156 104) |
| XYZ | xyz(56.3632, 64.2405, 15.7328) |
| Luminance | 0.6424 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.47
Piss Yellow
#DDD618
ΔE00 3.31
Dirty Yellow
#CDC50A
ΔE00 4.94
Sand Yellow
#FCE166
ΔE00 5.20
Ugly Yellow
#D0C101
ΔE00 5.52
Yellowish
#FAEE66
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2D549 #4956E2
analogous
#E28849 #E2D549 #A2E249
triadic
#E2D549 #49E2D5 #D549E2
tetradic
#E2D549 #49E288 #4956E2 #E249A2
square
#E2D549 #49E288 #4956E2 #E249A2
split-complementary
#E2D549 #49A2E2 #8849E2
monochromatic
#988D18 #CDBE21 #E2D549 #EAE17E #F3EDB3
Accessibility & contrast
On white
1.52
#E2D549 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.85
#E2D549 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2D549
13.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2D549 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2D549 | 1.00 | 1.52 | 13.85 | 13.85 |
| #FFFFFF | 1.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E7CE35
Deuteranopia (green-blind)
#ECD552
Tritanopia (blue-blind)
#F2C7B9
Achromatopsia (no color)
#D2D2D2
Design tokens & code
CSS
--color: #e2d549; /* rgb */ color: rgb(226, 213, 73); /* oklch */ color: oklch(85.9% 0.156 104.0);
Tailwind
colors: {
custom: {
50: '#efe183',
500: '#e2d549',
950: '#000000',
},
}SCSS
$custom: #e2d549; $custom-light: #efe183; $custom-dark: #000000;
JSON
{
"hex": "#e2d549",
"rgb": {
"r": 226,
"g": 213,
"b": 73
},
"hsl": {
"h": 54.902,
"s": 72.512,
"l": 58.627
},
"oklch": {
"l": 0.85896,
"c": 0.15596,
"h": 104
},
"luminance": 0.64238
}Semantic roles & 50–950 ramp
primary
#E2D549
secondary
#333C9C
accent
#48EF39
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E