Color #8a8971
A nearly neutral, gray-leaning medium yellow.
Conversions
#8a8971
rgb(138, 137, 113)
hsl(57.6, 10%, 49.2%)
hsv(57.6, 18.1%, 54.1%)
cmyk(0%, 0.7%, 18.1%, 45.9%)
lab(56.57, -3.93, 13.04)
lch(56.57, 13.62, 106.77)
oklch(62.4%, 0.0347, 105.36)
hwb(57.6, 44.3%, 45.9%)
Harmony colors
Accessibility
Black text reads better on this background (5.9:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#8a8a77 · ΔE 1.9
Deuteranopia
#8a8a79 · ΔE 2.7
Tritanopia
#8a7c7d · ΔE 16.4
Achromatopsia
#888888 · ΔE 10.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8a8971;
bg-[#8a8971]
Related colors
Frequently asked questions
#8a8971 (#8a8971) is rgb(138, 137, 113) in RGB.
No, #8a8971 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 #8a8971, or check how it holds up for accessibility.