Color #9a8a3d
A moderately saturated medium yellow.
Conversions
#9a8a3d
rgb(154, 138, 61)
hsl(49.7, 43.3%, 42.2%)
hsv(49.7, 60.4%, 60.4%)
cmyk(0%, 10.4%, 60.4%, 39.6%)
lab(57.45, -3.85, 42.56)
lch(57.45, 42.73, 95.17)
oklch(63.2%, 0.0993, 97.7)
hwb(49.7, 23.9%, 39.6%)
Harmony colors
Accessibility
Black text reads better on this background (6.08:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#939358 · ΔE 6.8
Deuteranopia
#94955d · ΔE 7.6
Tritanopia
#99676a · ΔE 32.1
Achromatopsia
#8a8a8a · ΔE 21.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9a8a3d;
bg-[#9a8a3d]
Related colors
Frequently asked questions
#9a8a3d (#9a8a3d) is rgb(154, 138, 61) in RGB.
No, #9a8a3d 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 #9a8a3d, or check how it holds up for accessibility.