#797B7E color

#797B7E rgb(121, 123, 126)
Shades of gray

The hex color #797B7E is a gray.

In the RGB color model it is made of 47.5% red, 48.2% green and 49.4% blue (121, 123, 126).

Its hue angle is 216°, with 2% saturation and 48% lightness. For print, the CMYK equivalent is 4% cyan, 2% magenta, 0% yellow and 51% black.

The closest named color is Ironside (#7E8082), a difference of 2 ΔE, which is barely visible.

Black text is the more readable choice on this background (contrast 4.95:1).

#797B7E color codes

HEX#797B7E
RGBrgb(121, 123, 126)
RGB percentrgb(47.5%, 48.2%, 49.4%)
HSLhsl(216, 2%, 48%)
HSV / HSBhsv(216, 4%, 49%)
CMYKcmyk(4%, 2%, 0%, 51%)
CIE LABlab(51.54, -0.14, -1.9)
CIE LCHlch(51.54, 1.9, 265.9)
CIE XYZxyz(18.733, 19.737, 22.557)
Decimal7961470
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #797B7E, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #797B7ERatioAAAAAAA large
Sample text4.95:1PassFailPass
Sample text4.24:1FailFailPass
#797B7E as text onRatioAAAAAAA large
Sample text4.24:1FailFailPass
Sample text4.95:1PassFailPass

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #797B7E looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #797b7e; }
.text { color: #797b7e; }
.border { border: 2px solid #797b7e; }
.transparent { background-color: rgb(121 123 126 / 50%); }
.gradient { background: linear-gradient(to right, #797b7e, #7a797e); }
Background
Text color
Border

Similar colors

Questions

What color is #797B7E?
#797B7E is a gray, closest to the named color Ironside. It belongs to the gray family of colors.
What is the RGB value of #797B7E?
The RGB value is 121, 123, 126: 121 red, 123 green and 126 blue on a 0 to 255 scale.
What is the complementary color of #797B7E?
The complementary color is #7E7C79, found by rotating the hue 180° on the color wheel.
Is black or white text better on #797B7E?
Black text. Black text has a contrast ratio of 4.95:1 and white text 4.24:1. WCAG asks for at least 4.5:1 for normal text.