Color #8a877b
A nearly neutral, gray-leaning medium yellow.
Conversions
#8a877b
rgb(138, 135, 123)
hsl(48, 6%, 51.2%)
hsv(48, 10.9%, 54.1%)
cmyk(0%, 2.2%, 10.9%, 45.9%)
lab(56.25, -1.11, 6.85)
lch(56.25, 6.94, 99.2)
oklch(62.3%, 0.018, 95.43)
hwb(48, 48.2%, 45.9%)
Harmony colors
Accessibility
Black text reads better on this background (5.83:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#89897e · ΔE 1.7
Deuteranopia
#89897f · ΔE 1.8
Tritanopia
#8a8081 · ΔE 9.3
Achromatopsia
#878787 · ΔE 6.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8a877b;
bg-[#8a877b]
Related colors
Frequently asked questions
#8a877b (#8a877b) is rgb(138, 135, 123) in RGB.
No, #8a877b 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 #8a877b, or check how it holds up for accessibility.