#E8D856#E8D856
#E8D856 is a very light, vivid yellow. Relative luminance 0.669; OKLCH L 87.1% C 0.149 H 102.3°. Best body text is #000000 at 14.39:1 contrast (WCAG AA passes).
Color values
| HEX | #E8D856 |
|---|---|
| RGB | rgb(232, 216, 86) |
| HSL | hsl(53, 76%, 62%) |
| HSV | hsv(53, 63%, 91%) |
| CMYK | cmyk(0%, 6.9%, 62.9%, 9%) |
| CIE-LAB | lab(85.47, -9.63, 64.01) |
| CIE-LCH | lch(85.47, 64.73, 98.55°) |
| OKLab | oklab(87.15% -0.0317 0.1455) |
| OKLCH | oklch(87.15% 0.149 102.3) |
| XYZ | xyz(59.5166, 66.9418, 18.5883) |
| Luminance | 0.6694 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.12
Sand Yellow
#FCE166
ΔE00 3.86
Piss Yellow
#DDD618
ΔE00 4.58
Yellow Tan
#FFE36E
ΔE00 4.61
Light Gold
#FDDC5C
ΔE00 4.69
Yellowish
#FAEE66
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E8D856 #5666E8
analogous
#E88F56 #E8D856 #AFE856
triadic
#E8D856 #56E8D8 #D856E8
tetradic
#E8D856 #56E88F #5666E8 #E856AF
square
#E8D856 #56E88F #5666E8 #E856AF
split-complementary
#E8D856 #56AFE8 #8F56E8
monochromatic
#AC9C17 #E1CC20 #E8D856 #EFE48C #F7F1C2
Accessibility & contrast
On white
1.46
#E8D856 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.39
#E8D856 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E8D856
14.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E8D856 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E8D856 | 1.00 | 1.46 | 14.39 | 14.39 |
| #FFFFFF | 1.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EAD246
Deuteranopia (green-blind)
#EFD95D
Tritanopia (blue-blind)
#F9CABD
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #e8d856; /* rgb */ color: rgb(232, 216, 86); /* oklch */ color: oklch(87.1% 0.149 102.3);
Tailwind
colors: {
custom: {
50: '#f3e38b',
500: '#e8d856',
950: '#000000',
},
}SCSS
$custom: #e8d856; $custom-light: #f3e38b; $custom-dark: #000000;
JSON
{
"hex": "#e8d856",
"rgb": {
"r": 232,
"g": 216,
"b": 86
},
"hsl": {
"h": 53.425,
"s": 76.042,
"l": 62.353
},
"oklch": {
"l": 0.87148,
"c": 0.14896,
"h": 102.3
},
"luminance": 0.66939
}Semantic roles & 50–950 ramp
primary
#E8D856
secondary
#3542AD
accent
#24D80D
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F