#E8D460#E8D460
#E8D460 is a very light, vivid yellow. Relative luminance 0.651; OKLCH L 86.4% C 0.137 H 99.6°. Best body text is #000000 at 14.02:1 contrast (WCAG AA passes).
Color values
| HEX | #E8D460 |
|---|---|
| RGB | rgb(232, 212, 96) |
| HSL | hsl(51, 75%, 64%) |
| HSV | hsv(51, 59%, 91%) |
| CMYK | cmyk(0%, 8.6%, 58.6%, 9%) |
| CIE-LAB | lab(84.53, -6.95, 58.66) |
| CIE-LCH | lch(84.53, 59.07, 96.76°) |
| OKLab | oklab(86.43% -0.023 0.1355) |
| OKLCH | oklch(86.43% 0.137 99.6) |
| XYZ | xyz(58.9358, 65.0897, 20.5232) |
| Luminance | 0.6509 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.29
Sandy
#F1DA7A
ΔE00 3.33
Sand Yellow
#FCE166
ΔE00 3.71
Light Mustard
#F7D560
ΔE00 3.84
Pale Gold
#FDDE6C
ΔE00 4.01
Light Gold
#FDDC5C
ΔE00 4.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E8D460 #6074E8
analogous
#E89060 #E8D460 #B8E860
triadic
#E8D460 #60E8D4 #D460E8
tetradic
#E8D460 #60E890 #6074E8 #E860B8
square
#E8D460 #60E890 #6074E8 #E860B8
split-complementary
#E8D460 #60B8E8 #9060E8
monochromatic
#B49D1A #E0C62B #E8D460 #F0E295 #F7F1CB
Accessibility & contrast
On white
1.50
#E8D460 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.02
#E8D460 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E8D460
14.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E8D460 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E8D460 | 1.00 | 1.50 | 14.02 | 14.02 |
| #FFFFFF | 1.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E6CF54
Deuteranopia (green-blind)
#ECD666
Tritanopia (blue-blind)
#F8C6BB
Achromatopsia (no color)
#D3D3D3
Design tokens & code
CSS
--color: #e8d460; /* rgb */ color: rgb(232, 212, 96); /* oklch */ color: oklch(86.4% 0.137 99.6);
Tailwind
colors: {
custom: {
50: '#f2e091',
500: '#e8d460',
950: '#000000',
},
}SCSS
$custom: #e8d460; $custom-light: #f2e091; $custom-dark: #000000;
JSON
{
"hex": "#e8d460",
"rgb": {
"r": 232,
"g": 212,
"b": 96
},
"hsl": {
"h": 51.176,
"s": 74.725,
"l": 64.314
},
"oklch": {
"l": 0.86427,
"c": 0.13742,
"h": 99.6
},
"luminance": 0.65087
}Semantic roles & 50–950 ramp
primary
#E8D460
secondary
#384AB4
accent
#2CD70F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F