#9A997D#9A997D
#9A997D is a light, muted yellow. Relative luminance 0.311; OKLCH L 67.6% C 0.040 H 105.7°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #9A997D |
|---|---|
| RGB | rgb(154, 153, 125) |
| HSL | hsl(58, 13%, 55%) |
| HSV | hsv(58, 19%, 60%) |
| CMYK | cmyk(0%, 0.6%, 18.8%, 39.6%) |
| CIE-LAB | lab(62.62, -4.54, 14.89) |
| CIE-LCH | lch(62.62, 15.57, 106.94°) |
| OKLab | oklab(67.62% -0.0107 0.0382) |
| OKLCH | oklch(67.62% 0.04 105.7) |
| XYZ | xyz(28.4191, 31.1335, 23.9103) |
| Luminance | 0.3113 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Cement
#A5A391
ΔE00 5.09
Stone (survey)
#ADA587
ΔE00 5.20
Bland
#AFA88B
ΔE00 5.66
Greyish
#A8A495
ΔE00 6.66
Brown Grey
#8D8468
ΔE00 7.69
Stone
#A89F91
ΔE00 8.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A997D #7D7E9A
analogous
#9A8B7D #9A997D #8D9A7D
triadic
#9A997D #7D9A99 #997D9A
tetradic
#9A997D #7D9A8B #7D7E9A #9A7D8D
square
#9A997D #7D9A8B #7D7E9A #9A7D8D
split-complementary
#9A997D #7D8D9A #8B7D9A
monochromatic
#585744 #7B7A5F #9A997D #B5B49F #D0CFC2
Accessibility & contrast
On white
2.91
#9A997D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.23
#9A997D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9A997D
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A997D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9A997D | 1.00 | 2.91 | 7.23 | 7.23 |
| #FFFFFF | 2.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9E977B
Deuteranopia (green-blind)
#9F987E
Tritanopia (blue-blind)
#9F9591
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #9a997d; /* rgb */ color: rgb(154, 153, 125); /* oklch */ color: oklch(67.6% 0.040 105.7);
Tailwind
colors: {
custom: {
50: '#b8b7a2',
500: '#9a997d',
950: '#000000',
},
}SCSS
$custom: #9a997d; $custom-light: #b8b7a2; $custom-dark: #000000;
JSON
{
"hex": "#9a997d",
"rgb": {
"r": 154,
"g": 153,
"b": 125
},
"hsl": {
"h": 57.931,
"s": 12.554,
"l": 54.706
},
"oklch": {
"l": 0.67615,
"c": 0.03964,
"h": 105.7
},
"luminance": 0.31133
}Semantic roles & 50–950 ramp
primary
#9A997D
secondary
#B3B4C0
accent
#75B572
background
#FBFBFA
surface
#F6F6F3
border
#D0D0CD
text
#11110F
muted
#80807F