#797E86 color

#797E86 rgb(121, 126, 134)
Shades of gray

The hex color #797E86 is a gray.

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

Its hue angle is 217°, with 5% saturation and 50% lightness. For print, the CMYK equivalent is 10% cyan, 6% magenta, 0% yellow and 47% black.

The closest named color is Nocturnal (#767D86), a difference of 1.1 ΔE, which is barely visible.

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

#797E86 color codes

HEX#797E86
RGBrgb(121, 126, 134)
RGB percentrgb(47.5%, 49.4%, 52.5%)
HSLhsl(217, 5%, 50%)
HSV / HSBhsv(217, 10%, 53%)
CMYKcmyk(10%, 6%, 0%, 47%)
CIE LABlab(52.63, -0.17, -4.97)
CIE LCHlch(52.63, 4.98, 268.05)
CIE XYZxyz(19.648, 20.708, 25.511)
Decimal7962246
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Closest common color name: Space Gray.

Questions

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