#9B997E#9B997E
#9B997E is a light, muted yellow. Relative luminance 0.313; OKLCH L 67.7% C 0.038 H 103.9°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #9B997E |
|---|---|
| RGB | rgb(155, 153, 126) |
| HSL | hsl(56, 13%, 55%) |
| HSV | hsv(56, 19%, 61%) |
| CMYK | cmyk(0%, 1.3%, 18.7%, 39.2%) |
| CIE-LAB | lab(62.72, -3.99, 14.49) |
| CIE-LCH | lch(62.72, 15.03, 105.39°) |
| OKLab | oklab(67.73% -0.0092 0.0372) |
| OKLCH | oklch(67.73% 0.038 103.9) |
| XYZ | xyz(28.6745, 31.2577, 24.2574) |
| Luminance | 0.3126 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Cement
#A5A391
ΔE00 4.71
Stone (survey)
#ADA587
ΔE00 4.89
Bland
#AFA88B
ΔE00 5.38
Greyish
#A8A495
ΔE00 6.20
Stone
#A89F91
ΔE00 7.49
Brown Grey
#8D8468
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B997E #7E809B
analogous
#9B8A7E #9B997E #8E9B7E
triadic
#9B997E #7E9B99 #997E9B
tetradic
#9B997E #7E9B8A #7E809B #9B7E8E
square
#9B997E #7E9B8A #7E809B #9B7E8E
split-complementary
#9B997E #7E8E9B #8A7E9B
monochromatic
#595845 #7C7A60 #9B997E #B6B4A0 #D0D0C3
Accessibility & contrast
On white
2.90
#9B997E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.25
#9B997E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9B997E
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B997E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B997E | 1.00 | 2.90 | 7.25 | 7.25 |
| #FFFFFF | 2.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9E977C
Deuteranopia (green-blind)
#9F987F
Tritanopia (blue-blind)
#A09591
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #9b997e; /* rgb */ color: rgb(155, 153, 126); /* oklch */ color: oklch(67.7% 0.038 103.9);
Tailwind
colors: {
custom: {
50: '#b8b7a3',
500: '#9b997e',
950: '#000000',
},
}SCSS
$custom: #9b997e; $custom-light: #b8b7a3; $custom-dark: #000000;
JSON
{
"hex": "#9b997e",
"rgb": {
"r": 155,
"g": 153,
"b": 126
},
"hsl": {
"h": 55.862,
"s": 12.664,
"l": 55.098
},
"oklch": {
"l": 0.67725,
"c": 0.03829,
"h": 103.9
},
"luminance": 0.31257
}Semantic roles & 50–950 ramp
primary
#9B997E
secondary
#B4B5C0
accent
#77B672
background
#FBFBFA
surface
#F6F6F3
border
#D0D0CD
text
#11110F
muted
#80807F