#9B977E#9B977E
#9B977E is a light, muted yellow. Relative luminance 0.306; OKLCH L 67.3% C 0.036 H 99.8°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #9B977E |
|---|---|
| RGB | rgb(155, 151, 126) |
| HSL | hsl(52, 13%, 55%) |
| HSV | hsv(52, 19%, 61%) |
| CMYK | cmyk(0%, 2.6%, 18.7%, 39.2%) |
| CIE-LAB | lab(62.18, -2.89, 13.72) |
| CIE-LCH | lch(62.18, 14.02, 101.90°) |
| OKLab | oklab(67.29% -0.0061 0.0353) |
| OKLCH | oklch(67.29% 0.036 99.8) |
| XYZ | xyz(28.3499, 30.6085, 24.1492) |
| Luminance | 0.3061 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Cement
#A5A391
ΔE00 4.62
Stone (survey)
#ADA587
ΔE00 5.00
Bland
#AFA88B
ΔE00 5.60
Greyish
#A8A495
ΔE00 5.80
Stone
#A89F91
ΔE00 6.57
Brown Grey
#8D8468
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B977E #7E829B
analogous
#9B887E #9B977E #919B7E
triadic
#9B977E #7E9B97 #977E9B
tetradic
#9B977E #7E9B88 #7E829B #9B7E91
square
#9B977E #7E9B88 #7E829B #9B7E91
split-complementary
#9B977E #7E919B #887E9B
monochromatic
#595745 #7C7860 #9B977E #B6B3A0 #D0CFC3
Accessibility & contrast
On white
2.95
#9B977E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.12
#9B977E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9B977E
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B977E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B977E | 1.00 | 2.95 | 7.12 | 7.12 |
| #FFFFFF | 2.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9C957D
Deuteranopia (green-blind)
#9D977F
Tritanopia (blue-blind)
#A09390
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #9b977e; /* rgb */ color: rgb(155, 151, 126); /* oklch */ color: oklch(67.3% 0.036 99.8);
Tailwind
colors: {
custom: {
50: '#b8b5a3',
500: '#9b977e',
950: '#000000',
},
}SCSS
$custom: #9b977e; $custom-light: #b8b5a3; $custom-dark: #000000;
JSON
{
"hex": "#9b977e",
"rgb": {
"r": 155,
"g": 151,
"b": 126
},
"hsl": {
"h": 51.724,
"s": 12.664,
"l": 55.098
},
"oklch": {
"l": 0.67291,
"c": 0.03579,
"h": 99.8
},
"luminance": 0.30608
}Semantic roles & 50–950 ramp
primary
#9B977E
secondary
#B4B6C0
accent
#7CB672
background
#FBFBFA
surface
#F6F6F3
border
#D0D0CD
text
#11110F
muted
#80807F