Color #9a8a3c
A moderately saturated medium yellow.
Conversions
#9a8a3c
rgb(154, 138, 60)
hsl(49.8, 43.9%, 42%)
hsv(49.8, 61%, 60.4%)
cmyk(0%, 10.4%, 61%, 39.6%)
lab(57.44, -3.92, 43.03)
lch(57.44, 43.21, 95.21)
oklch(63.2%, 0.1002, 97.8)
hwb(49.8, 23.5%, 39.6%)
Harmony colors
Accessibility
Black text reads better on this background (6.07:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#939357 · ΔE 6.7
Deuteranopia
#94955c · ΔE 7.6
Tritanopia
#99676a · ΔE 32.2
Achromatopsia
#8a8a8a · ΔE 21.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #9a8a3c;
bg-[#9a8a3c]
Related colors
Frequently asked questions
#9a8a3c (#9a8a3c) is rgb(154, 138, 60) in RGB.
No, #9a8a3c 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 #9a8a3c, or check how it holds up for accessibility.