Color #9f8f57
A muted medium yellow.
Conversions
#9f8f57
rgb(159, 143, 87)
hsl(46.7, 29.3%, 48.2%)
hsv(46.7, 45.3%, 62.4%)
cmyk(0%, 10.1%, 45.3%, 37.6%)
lab(59.62, -2.04, 31.9)
lch(59.62, 31.97, 93.66)
oklch(65.1%, 0.0775, 94)
hwb(46.7, 34.1%, 37.6%)
Harmony colors
Accessibility
Black text reads better on this background (6.54:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#989868 · ΔE 6.3
Deuteranopia
#999a6c · ΔE 7
Tritanopia
#9e7376 · ΔE 27.6
Achromatopsia
#909090 · ΔE 18.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9f8f57;
bg-[#9f8f57]
Related colors
Frequently asked questions
#9f8f57 (#9f8f57) is rgb(159, 143, 87) in RGB.
No, #9f8f57 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 #9f8f57, or check how it holds up for accessibility.