Color #9f8c4f
A muted medium yellow.
Conversions
#9f8c4f
rgb(159, 140, 79)
hsl(45.8, 33.6%, 46.7%)
hsv(45.8, 50.3%, 62.4%)
cmyk(0%, 11.9%, 50.3%, 37.6%)
lab(58.69, -1.2, 34.99)
lch(58.69, 35.01, 91.96)
oklch(64.4%, 0.0838, 92.6)
hwb(45.8, 31%, 37.6%)
Harmony colors
Accessibility
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
background-color: #9f8c4f;
bg-[#9f8c4f]
Related colors
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
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #9f8c4f, or check how it holds up for accessibility.