#7F8078 color

#7F8078 rgb(127, 128, 120)
Shades of gray

The hex color #7F8078 is a gray.

In the RGB color model it is made of 49.8% red, 50.2% green and 47.1% blue (127, 128, 120).

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

The closest named color is Moon Base (#7D7D77), a difference of 1.6 ΔE, which is barely visible.

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

#7F8078 color codes

HEX#7F8078
RGBrgb(127, 128, 120)
RGB percentrgb(49.8%, 50.2%, 47.1%)
HSLhsl(67, 3%, 49%)
HSV / HSBhsv(67, 6%, 50%)
CMYKcmyk(1%, 0%, 6%, 50%)
CIE LABlab(53.28, -1.93, 4.21)
CIE LCHlch(53.28, 4.63, 114.62)
CIE XYZxyz(19.861, 21.306, 20.832)
Decimal8355960
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #7F8078, 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 #7F8078RatioAAAAAAA large
Sample text5.26:1PassFailPass
Sample text3.99:1FailFailPass
#7F8078 as text onRatioAAAAAAA large
Sample text3.99:1FailFailPass
Sample text5.26: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 #7F8078 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #7f8078; }
.text { color: #7f8078; }
.border { border: 2px solid #7f8078; }
.transparent { background-color: rgb(127 128 120 / 50%); }
.gradient { background: linear-gradient(to right, #7f8078, #7b8078); }
Background
Text color
Border

Similar colors

Questions

What color is #7F8078?
#7F8078 is a gray, closest to the named color Moon Base. It belongs to the gray family of colors.
What is the RGB value of #7F8078?
The RGB value is 127, 128, 120: 127 red, 128 green and 120 blue on a 0 to 255 scale.
What is the complementary color of #7F8078?
The complementary color is #797880, found by rotating the hue 180° on the color wheel.
Is black or white text better on #7F8078?
Black text. Black text has a contrast ratio of 5.26:1 and white text 3.99:1. WCAG asks for at least 4.5:1 for normal text.