Color #7e877c
A nearly neutral, gray-leaning medium green.
Conversions
#7e877c
rgb(126, 135, 124)
hsl(109.1, 4.4%, 50.8%)
hsv(109.1, 8.1%, 52.9%)
cmyk(6.7%, 0%, 8.1%, 47.1%)
lab(55.3, -5.5, 4.78)
lch(55.3, 7.29, 139.01)
oklch(61.3%, 0.0194, 140.01)
hwb(109.1, 48.6%, 47.1%)
Harmony colors
Accessibility
Black text reads better on this background (5.64:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#82827f · ΔE 6.5
Deuteranopia
#81817f · ΔE 7
Tritanopia
#7e8181 · ΔE 7
Achromatopsia
#848484 · ΔE 7.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7e877c;
bg-[#7e877c]
Related colors
Frequently asked questions
#7e877c (#7e877c) is rgb(126, 135, 124) in RGB.
No, #7e877c 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 #7e877c, or check how it holds up for accessibility.