#E8D757#E8D757
#E8D757 is a very light, vivid yellow. Relative luminance 0.664; OKLCH L 87.0% C 0.147 H 101.8°. Best body text is #000000 at 14.29:1 contrast (WCAG AA passes).
Color values
| HEX | #E8D757 |
|---|---|
| RGB | rgb(232, 215, 87) |
| HSL | hsl(53, 76%, 63%) |
| HSV | hsv(53, 63%, 91%) |
| CMYK | cmyk(0%, 7.3%, 62.5%, 9%) |
| CIE-LAB | lab(85.22, -9.06, 63.32) |
| CIE-LCH | lch(85.22, 63.97, 98.15°) |
| OKLab | oklab(86.95% -0.03 0.1442) |
| OKLCH | oklch(86.95% 0.147 101.8) |
| XYZ | xyz(59.3018, 66.4472, 18.7169) |
| Luminance | 0.6644 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.21
Sand Yellow
#FCE166
ΔE00 3.76
Yellow Tan
#FFE36E
ΔE00 4.49
Light Gold
#FDDC5C
ΔE00 4.51
Sandy
#F1DA7A
ΔE00 4.59
Pale Gold
#FDDE6C
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E8D757 #5768E8
analogous
#E88F57 #E8D757 #B0E857
triadic
#E8D757 #57E8D7 #D757E8
tetradic
#E8D757 #57E88F #5768E8 #E857B0
square
#E8D757 #57E88F #5768E8 #E857B0
split-complementary
#E8D757 #57B0E8 #8F57E8
monochromatic
#AD9B18 #E1CA21 #E8D757 #EFE48D #F7F1C3
Accessibility & contrast
On white
1.47
#E8D757 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.29
#E8D757 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E8D757
14.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E8D757 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E8D757 | 1.00 | 1.47 | 14.29 | 14.29 |
| #FFFFFF | 1.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E9D148
Deuteranopia (green-blind)
#EFD85E
Tritanopia (blue-blind)
#F9C9BC
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #e8d757; /* rgb */ color: rgb(232, 215, 87); /* oklch */ color: oklch(87.0% 0.147 101.8);
Tailwind
colors: {
custom: {
50: '#f3e38c',
500: '#e8d757',
950: '#000000',
},
}SCSS
$custom: #e8d757; $custom-light: #f3e38c; $custom-dark: #000000;
JSON
{
"hex": "#e8d757",
"rgb": {
"r": 232,
"g": 215,
"b": 87
},
"hsl": {
"h": 52.966,
"s": 75.916,
"l": 62.549
},
"oklch": {
"l": 0.86952,
"c": 0.14732,
"h": 101.8
},
"luminance": 0.66445
}Semantic roles & 50–950 ramp
primary
#E8D757
secondary
#3543AE
accent
#25D80D
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F