#E8D258#E8D258
#E8D258 is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 85.9% C 0.142 H 99.1°. Best body text is #000000 at 13.79:1 contrast (WCAG AA passes).
Color values
| HEX | #E8D258 |
|---|---|
| RGB | rgb(232, 210, 88) |
| HSL | hsl(51, 76%, 63%) |
| HSV | hsv(51, 62%, 91%) |
| CMYK | cmyk(0%, 9.5%, 62.1%, 9%) |
| CIE-LAB | lab(83.94, -6.47, 61.51) |
| CIE-LCH | lch(83.94, 61.85, 96.01°) |
| OKLab | oklab(85.94% -0.0225 0.1405) |
| OKLCH | oklch(85.94% 0.142 99.1) |
| XYZ | xyz(58.0892, 63.9561, 18.5156) |
| Luminance | 0.6395 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.49
Light Mustard
#F7D560
ΔE00 3.53
Maize
#F4D054
ΔE00 3.74
Sand Yellow
#FCE166
ΔE00 3.81
Light Gold
#FDDC5C
ΔE00 3.93
Sandy
#F1DA7A
ΔE00 4.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E8D258 #586EE8
analogous
#E88A58 #E8D258 #B6E858
triadic
#E8D258 #58E8D2 #D258E8
tetradic
#E8D258 #58E88A #586EE8 #E858B6
square
#E8D258 #58E88A #586EE8 #E858B6
split-complementary
#E8D258 #58B6E8 #8A58E8
monochromatic
#AE9718 #E1C422 #E8D258 #EFE08E #F7EFC4
Accessibility & contrast
On white
1.52
#E8D258 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.79
#E8D258 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E8D258
13.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E8D258 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E8D258 | 1.00 | 1.52 | 13.79 | 13.79 |
| #FFFFFF | 1.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E5CD4A
Deuteranopia (green-blind)
#EBD55E
Tritanopia (blue-blind)
#F9C4B8
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #e8d258; /* rgb */ color: rgb(232, 210, 88); /* oklch */ color: oklch(85.9% 0.142 99.1);
Tailwind
colors: {
custom: {
50: '#f3df8c',
500: '#e8d258',
950: '#000000',
},
}SCSS
$custom: #e8d258; $custom-light: #f3df8c; $custom-dark: #000000;
JSON
{
"hex": "#e8d258",
"rgb": {
"r": 232,
"g": 210,
"b": 88
},
"hsl": {
"h": 50.833,
"s": 75.789,
"l": 62.745
},
"oklch": {
"l": 0.85938,
"c": 0.14232,
"h": 99.1
},
"luminance": 0.63954
}Semantic roles & 50–950 ramp
primary
#E8D258
secondary
#3648AF
accent
#2CD80E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F