#E2D552#E2D552
#E2D552 is a very light, vivid yellow. Relative luminance 0.644; OKLCH L 86.0% C 0.150 H 103.6°. Best body text is #000000 at 13.87:1 contrast (WCAG AA passes).
Color values
| HEX | #E2D552 |
|---|---|
| RGB | rgb(226, 213, 82) |
| HSL | hsl(55, 71%, 60%) |
| HSV | hsv(55, 64%, 89%) |
| CMYK | cmyk(0%, 5.8%, 63.7%, 11.4%) |
| CIE-LAB | lab(84.16, -10.85, 64.11) |
| CIE-LCH | lch(84.16, 65.02, 99.60°) |
| OKLab | oklab(85.97% -0.0353 0.1453) |
| OKLCH | oklch(85.97% 0.15 103.6) |
| XYZ | xyz(56.6834, 64.3686, 17.4196) |
| Luminance | 0.6437 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.22
Piss Yellow
#DDD618
ΔE00 4.14
Sand Yellow
#FCE166
ΔE00 4.97
Dirty Yellow
#CDC50A
ΔE00 5.45
Sandy
#F1DA7A
ΔE00 5.48
Yellowish
#FAEE66
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2D552 #525FE2
analogous
#E28D52 #E2D552 #A7E252
triadic
#E2D552 #52E2D5 #D552E2
tetradic
#E2D552 #52E28D #525FE2 #E252A7
square
#E2D552 #52E28D #525FE2 #E252A7
split-complementary
#E2D552 #52A7E2 #8D52E2
monochromatic
#9F931B #D3C323 #E2D552 #EBE286 #F4EEBB
Accessibility & contrast
On white
1.51
#E2D552 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.87
#E2D552 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2D552
13.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2D552 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2D552 | 1.00 | 1.51 | 13.87 | 13.87 |
| #FFFFFF | 1.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E7CE42
Deuteranopia (green-blind)
#EBD55A
Tritanopia (blue-blind)
#F2C7BA
Achromatopsia (no color)
#D2D2D2
Design tokens & code
CSS
--color: #e2d552; /* rgb */ color: rgb(226, 213, 82); /* oklch */ color: oklch(86.0% 0.150 103.6);
Tailwind
colors: {
custom: {
50: '#eee189',
500: '#e2d552',
950: '#000000',
},
}SCSS
$custom: #e2d552; $custom-light: #eee189; $custom-dark: #000000;
JSON
{
"hex": "#e2d552",
"rgb": {
"r": 226,
"g": 213,
"b": 82
},
"hsl": {
"h": 54.583,
"s": 71.287,
"l": 60.392
},
"oklch": {
"l": 0.8597,
"c": 0.14955,
"h": 103.6
},
"luminance": 0.64366
}Semantic roles & 50–950 ramp
primary
#E2D552
secondary
#3640A2
accent
#24D312
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F