#E8D156#E8D156
#E8D156 is a very light, vivid yellow. Relative luminance 0.634; OKLCH L 85.7% C 0.143 H 98.7°. Best body text is #000000 at 13.69:1 contrast (WCAG AA passes).
Color values
| HEX | #E8D156 |
|---|---|
| RGB | rgb(232, 209, 86) |
| HSL | hsl(51, 76%, 62%) |
| HSV | hsv(51, 63%, 91%) |
| CMYK | cmyk(0%, 9.9%, 62.9%, 9%) |
| CIE-LAB | lab(83.67, -6.09, 62.07) |
| CIE-LCH | lch(83.67, 62.37, 95.60°) |
| OKLab | oklab(85.72% -0.0216 0.1414) |
| OKLCH | oklch(85.72% 0.143 98.7) |
| XYZ | xyz(57.7613, 63.4312, 18.0032) |
| Luminance | 0.6343 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.75
Light Mustard
#F7D560
ΔE00 3.39
Maize
#F4D054
ΔE00 3.48
Light Gold
#FDDC5C
ΔE00 3.88
Sand Yellow
#FCE166
ΔE00 3.93
Pale Gold
#FDDE6C
ΔE00 4.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E8D156 #566DE8
analogous
#E88856 #E8D156 #B6E856
triadic
#E8D156 #56E8D1 #D156E8
tetradic
#E8D156 #56E888 #566DE8 #E856B6
square
#E8D156 #56E888 #566DE8 #E856B6
split-complementary
#E8D156 #56B6E8 #8856E8
monochromatic
#AC9517 #E1C220 #E8D156 #EFE08C #F7EEC2
Accessibility & contrast
On white
1.53
#E8D156 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.69
#E8D156 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E8D156
13.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E8D156 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E8D156 | 1.00 | 1.53 | 13.69 | 13.69 |
| #FFFFFF | 1.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E4CC48
Deuteranopia (green-blind)
#EAD45C
Tritanopia (blue-blind)
#F9C3B7
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #e8d156; /* rgb */ color: rgb(232, 209, 86); /* oklch */ color: oklch(85.7% 0.143 98.7);
Tailwind
colors: {
custom: {
50: '#f3de8b',
500: '#e8d156',
950: '#000000',
},
}SCSS
$custom: #e8d156; $custom-light: #f3de8b; $custom-dark: #000000;
JSON
{
"hex": "#e8d156",
"rgb": {
"r": 232,
"g": 209,
"b": 86
},
"hsl": {
"h": 50.548,
"s": 76.042,
"l": 62.353
},
"oklch": {
"l": 0.85715,
"c": 0.14307,
"h": 98.7
},
"luminance": 0.63429
}Semantic roles & 50–950 ramp
primary
#E8D156
secondary
#3548AD
accent
#2DD80D
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F