Color #7e8a6d
A nearly neutral, gray-leaning medium green.
Conversions
#7e8a6d
rgb(126, 138, 109)
hsl(84.8, 11.7%, 48.4%)
hsv(84.8, 21%, 54.1%)
cmyk(8.7%, 0%, 21%, 45.9%)
lab(55.8, -9.87, 14.1)
lch(55.8, 17.21, 124.99)
oklch(61.5%, 0.0446, 125.97)
hwb(84.8, 42.7%, 45.9%)
Harmony colors
Accessibility
Black text reads better on this background (5.74:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#838375 · ΔE 7.9
Deuteranopia
#838277 · ΔE 9.4
Tritanopia
#7f7b7c · ΔE 17.3
Achromatopsia
#868686 · ΔE 14
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7e8a6d;
bg-[#7e8a6d]
Related colors
Frequently asked questions
#7e8a6d (#7e8a6d) is rgb(126, 138, 109) in RGB.
No, #7e8a6d 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 #7e8a6d, or check how it holds up for accessibility.