Skip to content
Kolorvia
#9f8c4f

Color #9f8c4f

A muted medium yellow.

Conversions

HEX
#9f8c4f
RGB
rgb(159, 140, 79)
HSL
hsl(45.8, 33.6%, 46.7%)
HSV / HSB
hsv(45.8, 50.3%, 62.4%)
CMYK
cmyk(0%, 11.9%, 50.3%, 37.6%)
LAB
lab(58.69, -1.2, 34.99)
LCH
lch(58.69, 35.01, 91.96)
OKLCH
oklch(64.4%, 0.0838, 92.6)
HWB
hwb(45.8, 31%, 37.6%)

Harmony colors

Complementary

#4f629f

Analogous

#9f644f
#9f8c4f
#8a9f4f

Triadic

#9f8c4f
#4f9f8c
#8c4f9f

Split-complementary

#9f8c4f
#4f8a9f
#644f9f

Tetradic

#9f8c4f
#629f4f
#4f629f
#8c4f9f

Square

#9f8c4f
#4f9f64
#4f629f
#9f4f8a

Shades

Color #9f8c4f mixed toward black.

#857542
#6a5d35
#504628
#352f1a
#1b170d

Tints

Color #9f8c4f mixed toward white.

#b4a268
#c3b486
#d2c7a4
#e1dac2
#f0ece1

Tones

Color #9f8c4f mixed toward gray.

#988956
#92855c
#8b8263
#847e6a
#7e7b70

Accessibility

Aa White text on this color
3.31:1
Aa Black text on this color
6.34:1

Black text reads better on this background (6.34:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.

Under color vision deficiencies

Protanopia

#979762 · ΔE 7.2

Deuteranopia

#989a66 · ΔE 8.2

Tritanopia

#9e6f71 · ΔE 27.9

Achromatopsia

#8d8d8d · ΔE 19.6

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

Code

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

Related colors

Cornsilk #fff8dc
Goldenrod #daa520
Dark Goldenrod #b8860b
Gold #ffd700
Floral White #fffaf0
Old Lace #fdf5e6

Frequently asked questions

#9f8c4f (#9f8c4f) is rgb(159, 140, 79) in RGB.

No, #9f8c4f is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.

Related tools

Build something with this color

Generate a full palette from #9f8c4f, 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.