#E2D557#E2D557
#E2D557 is a very light, vivid yellow. Relative luminance 0.644; OKLCH L 86.0% C 0.146 H 103.4°. Best body text is #000000 at 13.89:1 contrast (WCAG AA passes).
Color values
| HEX | #E2D557 |
|---|---|
| RGB | rgb(226, 213, 87) |
| HSL | hsl(54, 71%, 61%) |
| HSV | hsv(54, 62%, 89%) |
| CMYK | cmyk(0%, 5.8%, 61.5%, 11.4%) |
| CIE-LAB | lab(84.20, -10.54, 62.07) |
| CIE-LCH | lch(84.20, 62.95, 99.63°) |
| OKLab | oklab(86.02% -0.0338 0.1417) |
| OKLCH | oklch(86.02% 0.146 103.4) |
| XYZ | xyz(56.8807, 64.4475, 18.4584) |
| Luminance | 0.6444 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.22
Piss Yellow
#DDD618
ΔE00 4.65
Sand Yellow
#FCE166
ΔE00 4.89
Sandy
#F1DA7A
ΔE00 5.07
Yellow Tan
#FFE36E
ΔE00 5.56
Yellowish
#FAEE66
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2D557 #5764E2
analogous
#E29057 #E2D557 #AAE257
triadic
#E2D557 #57E2D5 #D557E2
tetradic
#E2D557 #57E290 #5764E2 #E257AA
square
#E2D557 #57E290 #5764E2 #E257AA
split-complementary
#E2D557 #57AAE2 #9057E2
monochromatic
#A3961C #D7C625 #E2D557 #EBE28B #F4EFBF
Accessibility & contrast
On white
1.51
#E2D557 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.89
#E2D557 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2D557
13.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2D557 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2D557 | 1.00 | 1.51 | 13.89 | 13.89 |
| #FFFFFF | 1.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E7CE48
Deuteranopia (green-blind)
#EBD55E
Tritanopia (blue-blind)
#F2C7BA
Achromatopsia (no color)
#D2D2D2
Design tokens & code
CSS
--color: #e2d557; /* rgb */ color: rgb(226, 213, 87); /* oklch */ color: oklch(86.0% 0.146 103.4);
Tailwind
colors: {
custom: {
50: '#eee18b',
500: '#e2d557',
950: '#000000',
},
}SCSS
$custom: #e2d557; $custom-light: #eee18b; $custom-dark: #000000;
JSON
{
"hex": "#e2d557",
"rgb": {
"r": 226,
"g": 213,
"b": 87
},
"hsl": {
"h": 54.388,
"s": 70.558,
"l": 61.373
},
"oklch": {
"l": 0.86016,
"c": 0.1457,
"h": 103.4
},
"luminance": 0.64445
}Semantic roles & 50–950 ramp
primary
#E2D557
secondary
#3842A5
accent
#25D313
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F