#9B9873#9B9873
#9B9873 is a light, muted yellow. Relative luminance 0.307; OKLCH L 67.3% C 0.052 H 103.8°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #9B9873 |
|---|---|
| RGB | rgb(155, 152, 115) |
| HSL | hsl(56, 17%, 53%) |
| HSV | hsv(56, 26%, 61%) |
| CMYK | cmyk(0%, 1.9%, 25.8%, 39.2%) |
| CIE-LAB | lab(62.22, -5.11, 19.92) |
| CIE-LCH | lch(62.22, 20.57, 104.37°) |
| OKLab | oklab(67.25% -0.0124 0.0504) |
| OKLCH | oklch(67.25% 0.052 103.8) |
| XYZ | xyz(27.8403, 30.6633, 20.6683) |
| Luminance | 0.3066 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Stone (survey)
#ADA587
ΔE00 5.61
Bland
#AFA88B
ΔE00 6.29
Dark Khaki
#9B8F55
ΔE00 6.67
Cement
#A5A391
ΔE00 7.41
Brown Grey
#8D8468
ΔE00 7.54
Khaki (survey)
#AAA662
ΔE00 8.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B9873 #73769B
analogous
#9B8473 #9B9873 #8A9B73
triadic
#9B9873 #739B98 #98739B
tetradic
#9B9873 #739B84 #73769B #9B738A
square
#9B9873 #739B84 #73769B #9B738A
split-complementary
#9B9873 #738A9B #84739B
monochromatic
#56543D #7A7757 #9B9873 #B4B297 #CECDBA
Accessibility & contrast
On white
2.94
#9B9873 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.13
#9B9873 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9B9873
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B9873 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B9873 | 1.00 | 2.94 | 7.13 | 7.13 |
| #FFFFFF | 2.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9F9571
Deuteranopia (green-blind)
#A09774
Tritanopia (blue-blind)
#A1938E
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #9b9873; /* rgb */ color: rgb(155, 152, 115); /* oklch */ color: oklch(67.3% 0.052 103.8);
Tailwind
colors: {
custom: {
50: '#b9b69b',
500: '#9b9873',
950: '#000000',
},
}SCSS
$custom: #9b9873; $custom-light: #b9b69b; $custom-dark: #000000;
JSON
{
"hex": "#9b9873",
"rgb": {
"r": 155,
"g": 152,
"b": 115
},
"hsl": {
"h": 55.5,
"s": 16.667,
"l": 52.941
},
"oklch": {
"l": 0.67253,
"c": 0.05187,
"h": 103.8
},
"luminance": 0.30663
}Semantic roles & 50–950 ramp
primary
#9B9873
secondary
#ACAEBE
accent
#74B96E
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#11110E
muted
#80807E