#797A7E Hex Color

Online color picker to view shades, tints, color codes, and complementary colors

Hex color #797a7e graphic
Reach for #797a7e when an interface needs a mid grey that skips the sterile feel of pure neutral. This ashy shade sits near the middle of the value scale with a faint cool undertone, so it reads steady and professional. The hex code works best as a supporting tone behind black text, which clears WCAG AA at about 4.9:1. Pair it with ochre or warm wood tones to keep it from going flat.

Questions about #797a7e

What is #797a7e in RGB, HSL and CMYK?
In RGB, #797a7e is rgb(121, 122, 126), in HSL hsl(228, 2%, 48%) and in CMYK 4%, 3%, 0%, 51%. Browse more shades of gray with names and hex codes.
What colors pair well with #797a7e?
Warm accents work best: ochre and burgundy both keep this grey from reading flat. Since #797a7e leans slightly cool, avoid stacking it with other cool neutrals or the whole palette turns dull.
Is #797a7e readable on white or black?
#797a7e has a 4.28:1 contrast ratio on white and 4.89:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it works only for large text (24px, or 18.5px bold) and on black it works for body text. Try other pairs in the contrast checker.