#9C997F#9C997F
#9C997F is a light, muted yellow. Relative luminance 0.314; OKLCH L 67.8% C 0.037 H 101.9°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #9C997F |
|---|---|
| RGB | rgb(156, 153, 127) |
| HSL | hsl(54, 13%, 55%) |
| HSV | hsv(54, 19%, 61%) |
| CMYK | cmyk(0%, 1.9%, 18.6%, 38.8%) |
| CIE-LAB | lab(62.83, -3.44, 14.09) |
| CIE-LCH | lch(62.83, 14.50, 103.72°) |
| OKLab | oklab(67.84% -0.0076 0.0362) |
| OKLCH | oklch(67.84% 0.037 101.9) |
| XYZ | xyz(28.9321, 31.3831, 24.6080) |
| Luminance | 0.3138 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Cement
#A5A391
ΔE00 4.37
Stone (survey)
#ADA587
ΔE00 4.62
Bland
#AFA88B
ΔE00 5.15
Greyish
#A8A495
ΔE00 5.75
Stone
#A89F91
ΔE00 6.89
Brown Grey
#8D8468
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C997F #7F829C
analogous
#9C8A7F #9C997F #909C7F
triadic
#9C997F #7F9C99 #997F9C
tetradic
#9C997F #7F9C8A #7F829C #9C7F90
square
#9C997F #7F9C8A #7F829C #9C7F90
split-complementary
#9C997F #7F909C #8A7F9C
monochromatic
#5B5846 #7D7A61 #9C997F #B7B4A2 #D1D0C4
Accessibility & contrast
On white
2.89
#9C997F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.28
#9C997F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9C997F
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C997F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C997F | 1.00 | 2.89 | 7.28 | 7.28 |
| #FFFFFF | 2.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9E977D
Deuteranopia (green-blind)
#9F9980
Tritanopia (blue-blind)
#A19592
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #9c997f; /* rgb */ color: rgb(156, 153, 127); /* oklch */ color: oklch(67.8% 0.037 101.9);
Tailwind
colors: {
custom: {
50: '#b9b7a4',
500: '#9c997f',
950: '#000000',
},
}SCSS
$custom: #9c997f; $custom-light: #b9b7a4; $custom-dark: #000000;
JSON
{
"hex": "#9c997f",
"rgb": {
"r": 156,
"g": 153,
"b": 127
},
"hsl": {
"h": 53.793,
"s": 12.775,
"l": 55.49
},
"oklch": {
"l": 0.67835,
"c": 0.03697,
"h": 101.9
},
"luminance": 0.31383
}Semantic roles & 50–950 ramp
primary
#9C997F
secondary
#B5B7C1
accent
#79B672
background
#FBFBFA
surface
#F6F6F4
border
#D0D0CE
text
#11110F
muted
#80807F