Color #9c8a50
A muted medium yellow.
Conversions
#9c8a50
rgb(156, 138, 80)
hsl(45.8, 32.2%, 46.3%)
hsv(45.8, 48.7%, 61.2%)
cmyk(0%, 11.5%, 48.7%, 38.8%)
lab(57.87, -1.3, 33.39)
lch(57.87, 33.42, 92.23)
oklch(63.6%, 0.0804, 92.71)
hwb(45.8, 31.4%, 38.8%)
Harmony colors
Accessibility
Black text reads better on this background (6.16:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#959462 · ΔE 6.6
Deuteranopia
#969766 · ΔE 7.7
Tritanopia
#9b6e70 · ΔE 27.4
Achromatopsia
#8b8b8b · ΔE 19.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9c8a50;
bg-[#9c8a50]
Related colors
Frequently asked questions
#9c8a50 (#9c8a50) is rgb(156, 138, 80) in RGB.
No, #9c8a50 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 #9c8a50, or check how it holds up for accessibility.