#E8D256#E8D256
#E8D256 is a very light, vivid yellow. Relative luminance 0.639; OKLCH L 85.9% C 0.144 H 99.2°. Best body text is #000000 at 13.78:1 contrast (WCAG AA passes).
Color values
| HEX | #E8D256 |
|---|---|
| RGB | rgb(232, 210, 86) |
| HSL | hsl(51, 76%, 62%) |
| HSV | hsv(51, 63%, 91%) |
| CMYK | cmyk(0%, 9.5%, 62.9%, 9%) |
| CIE-LAB | lab(83.93, -6.60, 62.35) |
| CIE-LCH | lch(83.93, 62.70, 96.04°) |
| OKLab | oklab(85.92% -0.0231 0.142) |
| OKLCH | oklch(85.92% 0.144 99.2) |
| XYZ | xyz(58.0074, 63.9234, 18.0853) |
| Luminance | 0.6392 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.44
Light Mustard
#F7D560
ΔE00 3.59
Maize
#F4D054
ΔE00 3.75
Sand Yellow
#FCE166
ΔE00 3.83
Light Gold
#FDDC5C
ΔE00 3.92
Pale Gold
#FDDE6C
ΔE00 4.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E8D256 #566CE8
analogous
#E88956 #E8D256 #B5E856
triadic
#E8D256 #56E8D2 #D256E8
tetradic
#E8D256 #56E889 #566CE8 #E856B5
square
#E8D256 #56E889 #566CE8 #E856B5
split-complementary
#E8D256 #56B5E8 #8956E8
monochromatic
#AC9617 #E1C420 #E8D256 #EFE08C #F7EFC2
Accessibility & contrast
On white
1.52
#E8D256 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.78
#E8D256 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E8D256
13.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E8D256 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E8D256 | 1.00 | 1.52 | 13.78 | 13.78 |
| #FFFFFF | 1.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E5CD47
Deuteranopia (green-blind)
#EBD55D
Tritanopia (blue-blind)
#F9C4B8
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #e8d256; /* rgb */ color: rgb(232, 210, 86); /* oklch */ color: oklch(85.9% 0.144 99.2);
Tailwind
colors: {
custom: {
50: '#f3df8b',
500: '#e8d256',
950: '#000000',
},
}SCSS
$custom: #e8d256; $custom-light: #f3df8b; $custom-dark: #000000;
JSON
{
"hex": "#e8d256",
"rgb": {
"r": 232,
"g": 210,
"b": 86
},
"hsl": {
"h": 50.959,
"s": 76.042,
"l": 62.353
},
"oklch": {
"l": 0.85919,
"c": 0.14388,
"h": 99.2
},
"luminance": 0.63921
}Semantic roles & 50–950 ramp
primary
#E8D256
secondary
#3547AD
accent
#2CD80D
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F