Color #878c5e
A muted medium yellow.
Conversions
#878c5e
rgb(135, 140, 94)
hsl(66.5, 19.7%, 45.9%)
hsv(66.5, 32.9%, 54.9%)
cmyk(3.6%, 0%, 32.9%, 45.1%)
lab(56.8, -9.65, 24.01)
lch(56.8, 25.88, 111.9)
oklch(62.4%, 0.065, 113.37)
hwb(66.5, 36.9%, 45.1%)
Harmony colors
Accessibility
Black text reads better on this background (5.94:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#89896b · ΔE 4.9
Deuteranopia
#89896e · ΔE 5.8
Tritanopia
#877577 · ΔE 26
Achromatopsia
#888888 · ΔE 17.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #878c5e;
bg-[#878c5e]
Related colors
Frequently asked questions
#878c5e (#878c5e) is rgb(135, 140, 94) in RGB.
No, #878c5e 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 #878c5e, or check how it holds up for accessibility.