Skip to content
Kolorvia
#9c9871

Color #9c9871

A muted medium yellow.

Conversions

HEX
#9c9871
RGB
rgb(156, 152, 113)
HSL
hsl(54.4, 17.8%, 52.7%)
HSV / HSB
hsv(54.4, 27.6%, 61.2%)
CMYK
cmyk(0%, 2.6%, 27.6%, 38.8%)
LAB
lab(62.27, -4.99, 21.11)
LCH
lch(62.27, 21.69, 103.3)
OKLCH
oklch(67.3%, 0.0546, 102.81)
HWB
hwb(54.4, 44.3%, 38.8%)

Harmony colors

Complementary

#71759c

Analogous

#9c8271
#9c9871
#8a9c71

Triadic

#9c9871
#719c98
#98719c

Split-complementary

#9c9871
#718a9c
#82719c

Tetradic

#9c9871
#759c71
#71759c
#98719c

Square

#9c9871
#719c82
#71759c
#9c718a

Shades

Color #9c9871 mixed toward black.

#84805c
#6a674a
#4f4d37
#353325
#1a1a12

Tints

Color #9c9871 mixed toward white.

#aca989
#bdbaa0
#cdcbb8
#deddd0
#eeeee7

Tones

Color #9c9871 mixed toward gray.

#989574
#959278
#918f7c
#8e8c7f
#8a8983

Accessibility

Aa White text on this color
2.94:1
Aa Black text on this color
7.14:1

Black text reads better on this background (7.14:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#9a9a7c · ΔE 3.1

Deuteranopia

#9b9b7e · ΔE 3.5

Tritanopia

#9c8485 · ΔE 23

Achromatopsia

#969696 · ΔE 14.9

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #9c9871;
Tailwind (arbitrary value)
bg-[#9c9871]

Related colors

Pale Goldenrod #eee8aa
Khaki #f0e68c
Lemon Chiffon #fffacd
Dark Khaki #bdb76b
Gold #ffd700
Ivory #fffff0

Frequently asked questions

#9c9871 (#9c9871) is rgb(156, 152, 113) in RGB.

No, #9c9871 is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #9c9871, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.