Color #7e9178
A nearly neutral, gray-leaning medium green.
Conversions
#7e9178
rgb(126, 145, 120)
hsl(105.6, 10.2%, 52%)
hsv(105.6, 17.2%, 56.9%)
cmyk(13.1%, 0%, 17.2%, 43.1%)
lab(58.08, -11.75, 11.03)
lch(58.08, 16.12, 136.81)
oklch(63.4%, 0.0426, 138.23)
hwb(105.6, 47.1%, 43.1%)
Harmony colors
Accessibility
Black text reads better on this background (6.21:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#87877f · ΔE 11
Deuteranopia
#868480 · ΔE 13.5
Tritanopia
#7f8485 · ΔE 13.6
Achromatopsia
#8c8c8c · ΔE 14.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #7e9178;
bg-[#7e9178]
Related colors
Frequently asked questions
#7e9178 (#7e9178) is rgb(126, 145, 120) in RGB.
No, #7e9178 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 #7e9178, or check how it holds up for accessibility.