Color #798a7d
A nearly neutral, gray-leaning medium green.
Conversions
#798a7d
rgb(121, 138, 125)
hsl(134.1, 6.8%, 50.8%)
hsv(134.1, 12.3%, 54.1%)
cmyk(12.3%, 0%, 9.4%, 45.9%)
lab(55.81, -8.82, 4.89)
lch(55.81, 10.08, 151)
oklch(61.6%, 0.0276, 152.6)
hwb(134.1, 47.5%, 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
#818180 · ΔE 10.4
Deuteranopia
#807e81 · ΔE 13.3
Tritanopia
#7a8383 · ΔE 7.8
Achromatopsia
#868686 · ΔE 10.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #798a7d;
bg-[#798a7d]
Related colors
Frequently asked questions
#798a7d (#798a7d) is rgb(121, 138, 125) in RGB.
No, #798a7d 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 #798a7d, or check how it holds up for accessibility.