#7C7D7A color
The hex color #7C7D7A is a gray.
In the RGB color model it is made of 48.6% red, 49% green and 47.8% blue (124, 125, 122).
Its hue angle is 80°, with 1% saturation and 48% lightness. For print, the CMYK equivalent is 1% cyan, 0% magenta, 2% yellow and 51% 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.07:1).
#7C7D7A color codes
| HEX | #7C7D7A | |
|---|---|---|
| RGB | rgb(124, 125, 122) | |
| RGB percent | rgb(48.6%, 49%, 47.8%) | |
| HSL | hsl(80, 1%, 48%) | |
| HSV / HSB | hsv(80, 2%, 49%) | |
| CMYK | cmyk(1%, 0%, 2%, 51%) | |
| CIE LAB | lab(52.24, -0.97, 1.5) | |
| CIE LCH | lch(52.24, 1.79, 122.92) | |
| CIE XYZ | xyz(19.158, 20.357, 21.329) | |
| Decimal | 8158586 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7C7D7A, 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 #7C7D7A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.07:1 | Pass | Fail | Pass |
| Sample text | 4.14:1 | Fail | Fail | Pass |
| #7C7D7A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.14:1 | Fail | Fail | Pass |
| Sample text | 5.07:1 | Pass | Fail | Pass |
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 #7C7D7A looks to people with the most common types of color vision deficiency.
#7d7d7aProtanopia
no red cones#7d7d7aDeuteranopia
no green cones#7c7d7cTritanopia
no blue cones#7d7d7dAchromatopsia
no color vision
CSS examples
.background { background-color: #7c7d7a; }
.text { color: #7c7d7a; }
.border { border: 2px solid #7c7d7a; }
.transparent { background-color: rgb(124 125 122 / 50%); }
.gradient { background: linear-gradient(to right, #7c7d7a, #7b7d7a); }
Similar colors
#7d7d77Moon Base#7a7c76Gunsmoke#7f8181Mt. Rushmore#808080Gray#827f79Concord#7c8181Whale#848482Battleship Gray#848482Old Silver
Questions
- What color is #7C7D7A?
- #7C7D7A is a gray, closest to the named color Moon Base. It belongs to the gray family of colors.
- What is the RGB value of #7C7D7A?
- The RGB value is 124, 125, 122: 124 red, 125 green and 122 blue on a 0 to 255 scale.
- What is the complementary color of #7C7D7A?
- The complementary color is #7B7A7D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7C7D7A?
- Black text. Black text has a contrast ratio of 5.07:1 and white text 4.14:1. WCAG asks for at least 4.5:1 for normal text.