Color #7d8172
A nearly neutral, gray-leaning medium green.
Conversions
#7d8172
rgb(125, 129, 114)
hsl(76, 6.2%, 47.6%)
hsv(76, 11.6%, 50.6%)
cmyk(3.1%, 0%, 11.6%, 49.4%)
lab(53.25, -4.38, 7.63)
lch(53.25, 8.8, 119.86)
oklch(59.5%, 0.0227, 119.28)
hwb(76, 44.7%, 49.4%)
Harmony colors
Accessibility
Black text reads better on this background (5.26:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#7f7f76 · ΔE 3.7
Deuteranopia
#7f7e77 · ΔE 4.9
Tritanopia
#7d7979 · ΔE 10.1
Achromatopsia
#7f7f7f · ΔE 8.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7d8172;
bg-[#7d8172]
Related colors
Frequently asked questions
#7d8172 (#7d8172) is rgb(125, 129, 114) in RGB.
No, #7d8172 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 #7d8172, or check how it holds up for accessibility.