#9D997E#9D997E
#9D997E is a light, muted yellow. Relative luminance 0.315; OKLCH L 67.9% C 0.038 H 100.4°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #9D997E |
|---|---|
| RGB | rgb(157, 153, 126) |
| HSL | hsl(52, 14%, 55%) |
| HSV | hsv(52, 20%, 62%) |
| CMYK | cmyk(0%, 2.5%, 19.7%, 38.4%) |
| CIE-LAB | lab(62.89, -3.21, 14.75) |
| CIE-LCH | lch(62.89, 15.09, 102.26°) |
| OKLab | oklab(67.9% -0.0069 0.0378) |
| OKLCH | oklch(67.9% 0.038 100.4) |
| XYZ | xyz(29.0616, 31.4573, 24.2755) |
| Luminance | 0.3146 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Stone (survey)
#ADA587
ΔE00 4.33
Cement
#A5A391
ΔE00 4.58
Bland
#AFA88B
ΔE00 4.94
Greyish
#A8A495
ΔE00 5.89
Stone
#A89F91
ΔE00 6.87
Brown Grey
#8D8468
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D997E #7E829D
analogous
#9D897E #9D997E #919D7E
triadic
#9D997E #7E9D99 #997E9D
tetradic
#9D997E #7E9D89 #7E829D #9D7E91
square
#9D997E #7E9D89 #7E829D #9D7E91
split-complementary
#9D997E #7E919D #897E9D
monochromatic
#5B5845 #7E7A60 #9D997E #B7B4A1 #D2D0C4
Accessibility & contrast
On white
2.88
#9D997E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.29
#9D997E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9D997E
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D997E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D997E | 1.00 | 2.88 | 7.29 | 7.29 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9E977C
Deuteranopia (green-blind)
#A0997F
Tritanopia (blue-blind)
#A29591
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #9d997e; /* rgb */ color: rgb(157, 153, 126); /* oklch */ color: oklch(67.9% 0.038 100.4);
Tailwind
colors: {
custom: {
50: '#bab7a3',
500: '#9d997e',
950: '#000000',
},
}SCSS
$custom: #9d997e; $custom-light: #bab7a3; $custom-dark: #000000;
JSON
{
"hex": "#9d997e",
"rgb": {
"r": 157,
"g": 153,
"b": 126
},
"hsl": {
"h": 52.258,
"s": 13.656,
"l": 55.49
},
"oklch": {
"l": 0.67897,
"c": 0.03844,
"h": 100.4
},
"luminance": 0.31457
}Semantic roles & 50–950 ramp
primary
#9D997E
secondary
#B5B7C2
accent
#7AB671
background
#FBFBFA
surface
#F6F6F3
border
#D0D0CD
text
#11110F
muted
#80807F