#9D997C#9D997C
#9D997C is a light, muted yellow. Relative luminance 0.314; OKLCH L 67.8% C 0.041 H 100.9°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #9D997C |
|---|---|
| RGB | rgb(157, 153, 124) |
| HSL | hsl(53, 14%, 55%) |
| HSV | hsv(53, 21%, 62%) |
| CMYK | cmyk(0%, 2.5%, 21%, 38.4%) |
| CIE-LAB | lab(62.85, -3.52, 15.80) |
| CIE-LCH | lch(62.85, 16.19, 102.54°) |
| OKLab | oklab(67.85% -0.0078 0.0404) |
| OKLCH | oklch(67.85% 0.041 100.9) |
| XYZ | xyz(28.9338, 31.4062, 23.6027) |
| Luminance | 0.3141 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Stone (survey)
#ADA587
ΔE00 4.34
Bland
#AFA88B
ΔE00 4.98
Cement
#A5A391
ΔE00 5.09
Greyish
#A8A495
ΔE00 6.44
Brown Grey
#8D8468
ΔE00 7.27
Stone
#A89F91
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D997C #7C809D
analogous
#9D887C #9D997C #909D7C
triadic
#9D997C #7C9D99 #997C9D
tetradic
#9D997C #7C9D88 #7C809D #9D7C90
square
#9D997C #7C9D88 #7C809D #9D7C90
split-complementary
#9D997C #7C909D #887C9D
monochromatic
#5B5844 #7E7A5E #9D997C #B7B49F #D1D0C2
Accessibility & contrast
On white
2.88
#9D997C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.28
#9D997C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9D997C
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D997C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D997C | 1.00 | 2.88 | 7.28 | 7.28 |
| #FFFFFF | 2.88 | 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)
#9F977A
Deuteranopia (green-blind)
#A0997D
Tritanopia (blue-blind)
#A29591
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #9d997c; /* rgb */ color: rgb(157, 153, 124); /* oklch */ color: oklch(67.8% 0.041 100.9);
Tailwind
colors: {
custom: {
50: '#bab7a2',
500: '#9d997c',
950: '#000000',
},
}SCSS
$custom: #9d997c; $custom-light: #bab7a2; $custom-dark: #000000;
JSON
{
"hex": "#9d997c",
"rgb": {
"r": 157,
"g": 153,
"b": 124
},
"hsl": {
"h": 52.727,
"s": 14.41,
"l": 55.098
},
"oklch": {
"l": 0.6785,
"c": 0.04115,
"h": 100.9
},
"luminance": 0.31406
}Semantic roles & 50–950 ramp
primary
#9D997C
secondary
#B3B5C1
accent
#79B771
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#11110F
muted
#80807E