Color #7f8a7a
A nearly neutral, gray-leaning medium green.
Conversions
#7f8a7a
rgb(127, 138, 122)
hsl(101.3, 6.4%, 51%)
hsv(101.3, 11.6%, 54.1%)
cmyk(8%, 0%, 11.6%, 45.9%)
lab(56.18, -7.17, 7.21)
lch(56.18, 10.17, 134.84)
oklch(62%, 0.0268, 135.76)
hwb(101.3, 47.8%, 45.9%)
Harmony colors
Accessibility
Black text reads better on this background (5.82:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#84847e · ΔE 7.4
Deuteranopia
#83827f · ΔE 9.2
Tritanopia
#808182 · ΔE 10.5
Achromatopsia
#878787 · ΔE 10
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7f8a7a;
bg-[#7f8a7a]
Related colors
Frequently asked questions
#7f8a7a (#7f8a7a) is rgb(127, 138, 122) in RGB.
No, #7f8a7a 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 #7f8a7a, or check how it holds up for accessibility.