Color #8a876f
A nearly neutral, gray-leaning medium yellow.
Conversions
#8a876f
rgb(138, 135, 111)
hsl(53.3, 10.8%, 48.8%)
hsv(53.3, 19.6%, 54.1%)
cmyk(0%, 2.2%, 19.6%, 45.9%)
lab(55.97, -3.14, 13.34)
lch(55.97, 13.7, 103.25)
oklch(61.9%, 0.0349, 101.41)
hwb(53.3, 43.5%, 45.9%)
Harmony colors
Accessibility
Black text reads better on this background (5.78:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#898975 · ΔE 2
Deuteranopia
#898977 · ΔE 2.6
Tritanopia
#8a7a7b · ΔE 16.5
Achromatopsia
#868686 · ΔE 10.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8a876f;
bg-[#8a876f]
Related colors
Frequently asked questions
#8a876f (#8a876f) is rgb(138, 135, 111) in RGB.
No, #8a876f 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 #8a876f, or check how it holds up for accessibility.