Color #7e807c
A nearly neutral, gray-leaning medium green.
Conversions
#7e807c
rgb(126, 128, 124)
hsl(90, 1.6%, 49.4%)
hsv(90, 3.1%, 50.2%)
cmyk(1.6%, 0%, 3.1%, 49.8%)
lab(53.31, -1.54, 1.91)
lch(53.31, 2.45, 128.88)
oklch(59.7%, 0.0064, 128.66)
hwb(90, 48.6%, 49.8%)
Harmony colors
Accessibility
Black text reads better on this background (5.27:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#7f7f7d · ΔE 1.8
Deuteranopia
#7f7f7d · ΔE 1.8
Tritanopia
#7e7e7e · ΔE 2.9
Achromatopsia
#7f7f7f · ΔE 2.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7e807c;
bg-[#7e807c]
Related colors
Frequently asked questions
#7e807c (#7e807c) is rgb(126, 128, 124) in RGB.
No, #7e807c 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 #7e807c, or check how it holds up for accessibility.