Color #87877f
A nearly neutral, gray-leaning medium yellow.
Conversions
#87877f
rgb(135, 135, 127)
hsl(60, 3.2%, 51.4%)
hsv(60, 5.9%, 52.9%)
cmyk(0%, 0%, 5.9%, 47.1%)
lab(56.1, -1.53, 4.3)
lch(56.1, 4.56, 109.59)
oklch(62.1%, 0.0118, 106.75)
hwb(60, 49.8%, 47.1%)
Harmony colors
Accessibility
Black text reads better on this background (5.8:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#878781 · ΔE 1
Deuteranopia
#878781 · ΔE 1
Tritanopia
#878383 · ΔE 5.7
Achromatopsia
#868686 · ΔE 4.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #87877f;
bg-[#87877f]
Related colors
Frequently asked questions
#87877f (#87877f) is rgb(135, 135, 127) in RGB.
No, #87877f 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 #87877f, or check how it holds up for accessibility.