#9A987E#9A987E
#9A987E is a light, muted yellow. Relative luminance 0.308; OKLCH L 67.4% C 0.037 H 103.7°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #9A987E |
|---|---|
| RGB | rgb(154, 152, 126) |
| HSL | hsl(56, 12%, 55%) |
| HSV | hsv(56, 18%, 60%) |
| CMYK | cmyk(0%, 1.3%, 18.2%, 39.6%) |
| CIE-LAB | lab(62.37, -3.83, 13.98) |
| CIE-LCH | lch(62.37, 14.49, 105.33°) |
| OKLab | oklab(67.42% -0.0088 0.0359) |
| OKLCH | oklch(67.42% 0.037 103.7) |
| XYZ | xyz(28.3203, 30.8332, 24.1941) |
| Luminance | 0.3083 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Cement
#A5A391
ΔE00 4.70
Stone (survey)
#ADA587
ΔE00 5.18
Bland
#AFA88B
ΔE00 5.68
Greyish
#A8A495
ΔE00 6.14
Brown Grey
#8D8468
ΔE00 7.27
Stone
#A89F91
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A987E #7E809A
analogous
#9A8A7E #9A987E #8E9A7E
triadic
#9A987E #7E9A98 #987E9A
tetradic
#9A987E #7E9A8A #7E809A #9A7E8E
square
#9A987E #7E9A8A #7E809A #9A7E8E
split-complementary
#9A987E #7E8E9A #8A7E9A
monochromatic
#585745 #7B7960 #9A987E #B5B3A0 #D0CFC3
Accessibility & contrast
On white
2.93
#9A987E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.17
#9A987E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9A987E
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A987E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9A987E | 1.00 | 2.93 | 7.17 | 7.17 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9D967C
Deuteranopia (green-blind)
#9E977F
Tritanopia (blue-blind)
#9F9491
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #9a987e; /* rgb */ color: rgb(154, 152, 126); /* oklch */ color: oklch(67.4% 0.037 103.7);
Tailwind
colors: {
custom: {
50: '#b8b6a3',
500: '#9a987e',
950: '#000000',
},
}SCSS
$custom: #9a987e; $custom-light: #b8b6a3; $custom-dark: #000000;
JSON
{
"hex": "#9a987e",
"rgb": {
"r": 154,
"g": 152,
"b": 126
},
"hsl": {
"h": 55.714,
"s": 12.174,
"l": 54.902
},
"oklch": {
"l": 0.67422,
"c": 0.03695,
"h": 103.7
},
"luminance": 0.30833
}Semantic roles & 50–950 ramp
primary
#9A987E
secondary
#B4B5C0
accent
#77B573
background
#FBFBFA
surface
#F6F6F3
border
#D0D0CD
text
#11110F
muted
#80807F