Color #7f8c86
A nearly neutral, gray-leaning medium green.
Conversions
#7f8c86
rgb(127, 140, 134)
hsl(152.3, 5.3%, 52.4%)
hsv(152.3, 9.3%, 54.9%)
cmyk(9.3%, 0%, 4.3%, 45.1%)
lab(57.06, -5.94, 1.59)
lch(57.06, 6.15, 165.01)
oklch(62.8%, 0.0175, 166.44)
hwb(152.3, 49.8%, 45.1%)
Harmony colors
Accessibility
Black text reads better on this background (6:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#858587 · ΔE 8.4
Deuteranopia
#848388 · ΔE 10.2
Tritanopia
#808989 · ΔE 4
Achromatopsia
#898989 · ΔE 7.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7f8c86;
bg-[#7f8c86]
Related colors
Frequently asked questions
#7f8c86 (#7f8c86) is rgb(127, 140, 134) in RGB.
No, #7f8c86 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 #7f8c86, or check how it holds up for accessibility.