#E9D861#E9D861
#E9D861 is a very light, vivid yellow. Relative luminance 0.673; OKLCH L 87.3% C 0.140 H 101.2°. Best body text is #000000 at 14.46:1 contrast (WCAG AA passes).
Color values
| HEX | #E9D861 |
|---|---|
| RGB | rgb(233, 216, 97) |
| HSL | hsl(53, 76%, 65%) |
| HSV | hsv(53, 58%, 91%) |
| CMYK | cmyk(0%, 7.3%, 58.4%, 8.6%) |
| CIE-LAB | lab(85.66, -8.49, 59.50) |
| CIE-LCH | lch(85.66, 60.10, 98.12°) |
| OKLab | oklab(87.34% -0.0273 0.1374) |
| OKLCH | oklch(87.34% 0.14 101.2) |
| XYZ | xyz(60.3200, 67.3008, 21.1199) |
| Luminance | 0.6730 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.45
Sand Yellow
#FCE166
ΔE00 3.54
Sandy
#F1DA7A
ΔE00 3.65
Yellow Tan
#FFE36E
ΔE00 4.10
Pale Gold
#FDDE6C
ΔE00 4.27
Light Gold
#FDDC5C
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E9D861 #6172E9
analogous
#E99461 #E9D861 #B6E961
triadic
#E9D861 #61E9D8 #D861E9
tetradic
#E9D861 #61E994 #6172E9 #E961B6
square
#E9D861 #61E994 #6172E9 #E961B6
split-complementary
#E9D861 #61B6E9 #9461E9
monochromatic
#B6A319 #E2CB2B #E9D861 #F0E597 #F8F3CC
Accessibility & contrast
On white
1.45
#E9D861 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.46
#E9D861 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E9D861
14.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E9D861 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E9D861 | 1.00 | 1.45 | 14.46 | 14.46 |
| #FFFFFF | 1.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EAD254
Deuteranopia (green-blind)
#EFD967
Tritanopia (blue-blind)
#F9CABE
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #e9d861; /* rgb */ color: rgb(233, 216, 97); /* oklch */ color: oklch(87.3% 0.140 101.2);
Tailwind
colors: {
custom: {
50: '#f3e392',
500: '#e9d861',
950: '#000000',
},
}SCSS
$custom: #e9d861; $custom-light: #f3e392; $custom-dark: #000000;
JSON
{
"hex": "#e9d861",
"rgb": {
"r": 233,
"g": 216,
"b": 97
},
"hsl": {
"h": 52.5,
"s": 75.556,
"l": 64.706
},
"oklch": {
"l": 0.87343,
"c": 0.14008,
"h": 101.2
},
"luminance": 0.67298
}Semantic roles & 50–950 ramp
primary
#E9D861
secondary
#3848B6
accent
#27D80E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F