Color #797976
A nearly neutral, gray-leaning medium yellow.
Conversions
#797976
rgb(121, 121, 118)
hsl(60, 1.3%, 46.9%)
hsv(60, 2.5%, 47.5%)
cmyk(0%, 0%, 2.5%, 52.5%)
lab(50.74, -0.6, 1.64)
lch(50.74, 1.75, 110.1)
oklch(57.5%, 0.0045, 106.82)
hwb(60, 46.3%, 52.5%)
Harmony colors
Accessibility
Black text reads better on this background (4.81:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#797977 · ΔE 0.6
Deuteranopia
#797977 · ΔE 0.6
Tritanopia
#797777 · ΔE 2.5
Achromatopsia
#797979 · ΔE 1.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #797976;
bg-[#797976]
Related colors
Frequently asked questions
#797976 (#797976) is rgb(121, 121, 118) in RGB.
No, #797976 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 #797976, or check how it holds up for accessibility.