Color #798b7d
A nearly neutral, gray-leaning medium green.
Conversions
#798b7d
rgb(121, 139, 125)
hsl(133.3, 7.2%, 51%)
hsv(133.3, 12.9%, 54.5%)
cmyk(12.9%, 0%, 10.1%, 45.5%)
lab(56.1, -9.37, 5.31)
lch(56.1, 10.77, 150.46)
oklch(61.8%, 0.0294, 152.04)
hwb(133.3, 47.5%, 45.5%)
Harmony colors
Accessibility
Black text reads better on this background (5.8:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#818181 · ΔE 11.4
Deuteranopia
#807f81 · ΔE 12.9
Tritanopia
#7a8384 · ΔE 8.9
Achromatopsia
#868686 · ΔE 11.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #798b7d;
bg-[#798b7d]
Related colors
Frequently asked questions
#798b7d (#798b7d) is rgb(121, 139, 125) in RGB.
No, #798b7d 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 #798b7d, or check how it holds up for accessibility.