#9B987E#9B987E
#9B987E is a light, muted yellow. Relative luminance 0.309; OKLCH L 67.5% C 0.037 H 101.9°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #9B987E |
|---|---|
| RGB | rgb(155, 152, 126) |
| HSL | hsl(54, 13%, 55%) |
| HSV | hsv(54, 19%, 61%) |
| CMYK | cmyk(0%, 1.9%, 18.7%, 39.2%) |
| CIE-LAB | lab(62.45, -3.44, 14.11) |
| CIE-LCH | lch(62.45, 14.52, 103.71°) |
| OKLab | oklab(67.51% -0.0076 0.0362) |
| OKLCH | oklch(67.51% 0.037 101.9) |
| XYZ | xyz(28.5115, 30.9318, 24.2031) |
| Luminance | 0.3093 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Cement
#A5A391
ΔE00 4.62
Stone (survey)
#ADA587
ΔE00 4.90
Bland
#AFA88B
ΔE00 5.45
Greyish
#A8A495
ΔE00 5.97
Stone
#A89F91
ΔE00 7.02
Brown Grey
#8D8468
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B987E #7E819B
analogous
#9B897E #9B987E #909B7E
triadic
#9B987E #7E9B98 #987E9B
tetradic
#9B987E #7E9B89 #7E819B #9B7E90
square
#9B987E #7E9B89 #7E819B #9B7E90
split-complementary
#9B987E #7E909B #897E9B
monochromatic
#595745 #7C7960 #9B987E #B6B4A0 #D0CFC3
Accessibility & contrast
On white
2.92
#9B987E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.19
#9B987E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9B987E
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B987E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B987E | 1.00 | 2.92 | 7.19 | 7.19 |
| #FFFFFF | 2.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9D967C
Deuteranopia (green-blind)
#9E987F
Tritanopia (blue-blind)
#A09491
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #9b987e; /* rgb */ color: rgb(155, 152, 126); /* oklch */ color: oklch(67.5% 0.037 101.9);
Tailwind
colors: {
custom: {
50: '#b8b6a3',
500: '#9b987e',
950: '#000000',
},
}SCSS
$custom: #9b987e; $custom-light: #b8b6a3; $custom-dark: #000000;
JSON
{
"hex": "#9b987e",
"rgb": {
"r": 155,
"g": 152,
"b": 126
},
"hsl": {
"h": 53.793,
"s": 12.664,
"l": 55.098
},
"oklch": {
"l": 0.67508,
"c": 0.03701,
"h": 101.9
},
"luminance": 0.30931
}Semantic roles & 50–950 ramp
primary
#9B987E
secondary
#B4B6C0
accent
#79B672
background
#FBFBFA
surface
#F6F6F3
border
#D0D0CD
text
#11110F
muted
#80807F