Color #797e6b
A nearly neutral, gray-leaning medium green.
Conversions
#797e6b
rgb(121, 126, 107)
hsl(75.8, 8.2%, 45.7%)
hsv(75.8, 15.1%, 49.4%)
cmyk(4%, 0%, 15.1%, 50.6%)
lab(51.89, -5.51, 9.72)
lch(51.89, 11.17, 119.55)
oklch(58.3%, 0.0288, 119.33)
hwb(75.8, 42%, 50.6%)
Harmony colors
Accessibility
Black text reads better on this background (5.01:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#7b7b70 · ΔE 4.5
Deuteranopia
#7b7b71 · ΔE 4.9
Tritanopia
#797475 · ΔE 13
Achromatopsia
#7c7c7c · ΔE 9.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #797e6b;
bg-[#797e6b]
Related colors
Frequently asked questions
#797e6b (#797e6b) is rgb(121, 126, 107) in RGB.
No, #797e6b 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 #797e6b, or check how it holds up for accessibility.