#9B987C#9B987C
#9B987C is a light, muted yellow. Relative luminance 0.309; OKLCH L 67.5% C 0.040 H 102.3°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #9B987C |
|---|---|
| RGB | rgb(155, 152, 124) |
| HSL | hsl(54, 13%, 55%) |
| HSV | hsv(54, 20%, 61%) |
| CMYK | cmyk(0%, 1.9%, 20%, 39.2%) |
| CIE-LAB | lab(62.41, -3.75, 15.16) |
| CIE-LCH | lch(62.41, 15.62, 103.91°) |
| OKLab | oklab(67.46% -0.0085 0.0388) |
| OKLCH | oklch(67.46% 0.04 102.3) |
| XYZ | xyz(28.3837, 30.8807, 23.5302) |
| Luminance | 0.3088 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Stone (survey)
#ADA587
ΔE00 4.87
Cement
#A5A391
ΔE00 5.11
Bland
#AFA88B
ΔE00 5.46
Greyish
#A8A495
ΔE00 6.50
Brown Grey
#8D8468
ΔE00 7.09
Stone
#A89F91
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B987C #7C7F9B
analogous
#9B897C #9B987C #8F9B7C
triadic
#9B987C #7C9B98 #987C9B
tetradic
#9B987C #7C9B89 #7C7F9B #9B7C8F
square
#9B987C #7C9B89 #7C7F9B #9B7C8F
split-complementary
#9B987C #7C8F9B #897C9B
monochromatic
#595744 #7C795E #9B987C #B5B39F #D0CFC1
Accessibility & contrast
On white
2.93
#9B987C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.18
#9B987C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9B987C
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B987C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B987C | 1.00 | 2.93 | 7.18 | 7.18 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9D967A
Deuteranopia (green-blind)
#9F987D
Tritanopia (blue-blind)
#A09490
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #9b987c; /* rgb */ color: rgb(155, 152, 124); /* oklch */ color: oklch(67.5% 0.040 102.3);
Tailwind
colors: {
custom: {
50: '#b8b6a2',
500: '#9b987c',
950: '#000000',
},
}SCSS
$custom: #9b987c; $custom-light: #b8b6a2; $custom-dark: #000000;
JSON
{
"hex": "#9b987c",
"rgb": {
"r": 155,
"g": 152,
"b": 124
},
"hsl": {
"h": 54.194,
"s": 13.42,
"l": 54.706
},
"oklch": {
"l": 0.67459,
"c": 0.03975,
"h": 102.3
},
"luminance": 0.3088
}Semantic roles & 50–950 ramp
primary
#9B987C
secondary
#B3B4C0
accent
#78B672
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#11110F
muted
#80807E