#7F796F color

#7F796F rgb(127, 121, 111)
Shades of gray

The hex color #7F796F is a gray.

In the RGB color model it is made of 49.8% red, 47.5% green and 43.5% blue (127, 121, 111).

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

The closest named color is Gotham (#807872), a difference of 2.8 ΔE, a small difference.

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

#7F796F color codes

HEX#7F796F
RGBrgb(127, 121, 111)
RGB percentrgb(49.8%, 47.5%, 43.5%)
HSLhsl(37, 7%, 47%)
HSV / HSBhsv(37, 13%, 50%)
CMYKcmyk(0%, 5%, 13%, 50%)
CIE LABlab(51.08, 0.43, 6.3)
CIE LCHlch(51.08, 6.32, 86.12)
CIE XYZxyz(18.459, 19.335, 17.795)
Decimal8354159
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #7f796f; }
.text { color: #7f796f; }
.border { border: 2px solid #7f796f; }
.transparent { background-color: rgb(127 121 111 / 50%); }
.gradient { background: linear-gradient(to right, #7f796f, #7d7f6f); }
Background
Text color
Border

Similar colors

Closest common color name: Gray.

Questions

What color is #7F796F?
#7F796F is a gray, closest to the named color Gotham. It belongs to the gray family of colors.
What is the RGB value of #7F796F?
The RGB value is 127, 121, 111: 127 red, 121 green and 111 blue on a 0 to 255 scale.
What is the complementary color of #7F796F?
The complementary color is #6F757F, found by rotating the hue 180° on the color wheel.
Is black or white text better on #7F796F?
Black text. Black text has a contrast ratio of 4.87:1 and white text 4.31:1. WCAG asks for at least 4.5:1 for normal text.