Color #7f8a5c
A muted medium green.
Conversions
#7f8a5c
rgb(127, 138, 92)
hsl(74.3, 20%, 45.1%)
hsv(74.3, 33.3%, 54.1%)
cmyk(8%, 0%, 33.3%, 45.9%)
lab(55.54, -12.12, 23.35)
lch(55.54, 26.31, 117.43)
oklch(61.3%, 0.0667, 119.37)
hwb(74.3, 36.1%, 45.9%)
Harmony colors
Accessibility
Black text reads better on this background (5.69:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#848469 · ΔE 6.8
Deuteranopia
#83826c · ΔE 8.7
Tritanopia
#807375 · ΔE 25.7
Achromatopsia
#858585 · ΔE 17.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7f8a5c;
bg-[#7f8a5c]
Related colors
Frequently asked questions
#7f8a5c (#7f8a5c) is rgb(127, 138, 92) in RGB.
No, #7f8a5c 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 #7f8a5c, or check how it holds up for accessibility.