#797B6A color

#797B6A rgb(121, 123, 106)
Shades of gray

The hex color #797B6A is a gray.

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

Its hue angle is 67°, with 7% saturation and 45% lightness. For print, the CMYK equivalent is 2% cyan, 0% magenta, 14% yellow and 52% black.

The closest named color is Mangrove (#757461), a difference of 3.1 ΔE, a small difference.

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

#797B6A color codes

HEX#797B6A
RGBrgb(121, 123, 106)
RGB percentrgb(47.5%, 48.2%, 41.6%)
HSLhsl(67, 7%, 45%)
HSV / HSBhsv(67, 14%, 48%)
CMYKcmyk(2%, 0%, 14%, 52%)
CIE LABlab(51, -3.98, 9.05)
CIE LCHlch(51, 9.89, 113.76)
CIE XYZxyz(17.569, 19.272, 16.427)
Decimal7961450
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #797B6A, 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 #797B6ARatioAAAAAAA large
Sample text4.85:1PassFailPass
Sample text4.33:1FailFailPass
#797B6A as text onRatioAAAAAAA large
Sample text4.33:1FailFailPass
Sample text4.85: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 #797B6A looks to people with the most common types of color vision deficiency.

CSS examples

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

Similar colors

Questions

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