#E2D849#E2D849
#E2D849 is a very light, vivid yellow. Relative luminance 0.658; OKLCH L 86.5% C 0.159 H 105.3°. Best body text is #000000 at 14.15:1 contrast (WCAG AA passes).
Color values
| HEX | #E2D849 |
|---|---|
| RGB | rgb(226, 216, 73) |
| HSL | hsl(56, 73%, 59%) |
| HSV | hsv(56, 68%, 89%) |
| CMYK | cmyk(0%, 4.4%, 67.7%, 11.4%) |
| CIE-LAB | lab(84.88, -12.85, 68.41) |
| CIE-LCH | lch(84.88, 69.61, 100.64°) |
| OKLab | oklab(86.52% -0.0419 0.153) |
| OKLCH | oklch(86.52% 0.159 105.3) |
| XYZ | xyz(57.1247, 65.7636, 15.9866) |
| Luminance | 0.6576 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.69
Piss Yellow
#DDD618
ΔE00 2.99
Yellowish
#FAEE66
ΔE00 5.05
Dirty Yellow
#CDC50A
ΔE00 5.26
Sand Yellow
#FCE166
ΔE00 5.50
Sandy Yellow
#FDEE73
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2D849 #4953E2
analogous
#E28B49 #E2D849 #A0E249
triadic
#E2D849 #49E2D8 #D849E2
tetradic
#E2D849 #49E28B #4953E2 #E249A0
square
#E2D849 #49E28B #4953E2 #E249A0
split-complementary
#E2D849 #49A0E2 #8B49E2
monochromatic
#989018 #CDC221 #E2D849 #EAE37E #F3EFB3
Accessibility & contrast
On white
1.48
#E2D849 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.15
#E2D849 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2D849
14.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2D849 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2D849 | 1.00 | 1.48 | 14.15 | 14.15 |
| #FFFFFF | 1.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EAD034
Deuteranopia (green-blind)
#EED752
Tritanopia (blue-blind)
#F2CABB
Achromatopsia (no color)
#D4D4D4
Design tokens & code
CSS
--color: #e2d849; /* rgb */ color: rgb(226, 216, 73); /* oklch */ color: oklch(86.5% 0.159 105.3);
Tailwind
colors: {
custom: {
50: '#efe384',
500: '#e2d849',
950: '#000000',
},
}SCSS
$custom: #e2d849; $custom-light: #efe384; $custom-dark: #000000;
JSON
{
"hex": "#e2d849",
"rgb": {
"r": 226,
"g": 216,
"b": 73
},
"hsl": {
"h": 56.078,
"s": 72.512,
"l": 58.627
},
"oklch": {
"l": 0.8652,
"c": 0.15865,
"h": 105.3
},
"luminance": 0.65762
}Semantic roles & 50–950 ramp
primary
#E2D849
secondary
#333A9C
accent
#45EF39
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E