#7B797F color

#7B797F rgb(123, 121, 127)
Shades of gray

The hex color #7B797F is a gray.

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

Its hue angle is 260°, with 2% saturation and 49% lightness. For print, the CMYK equivalent is 3% cyan, 5% magenta, 0% yellow and 50% black.

The closest named color is Silver Surfer (#7E7D88), a difference of 2.9 ΔE, a small difference.

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

#7B797F color codes

HEX#7B797F
RGBrgb(123, 121, 127)
RGB percentrgb(48.2%, 47.5%, 49.8%)
HSLhsl(260, 2%, 49%)
HSV / HSBhsv(260, 5%, 50%)
CMYKcmyk(3%, 5%, 0%, 50%)
CIE LABlab(51.17, 1.97, -3)
CIE LCHlch(51.17, 3.59, 303.29)
CIE XYZxyz(18.836, 19.418, 22.83)
Decimal8092031
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Questions

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