#7F817B color
The hex color #7F817B is a gray.
In the RGB color model it is made of 49.8% red, 50.6% green and 48.2% blue (127, 129, 123).
Its hue angle is 80°, with 2% saturation and 49% lightness. For print, the CMYK equivalent is 2% cyan, 0% magenta, 5% yellow and 49% black.
The closest named color is Moon Base (#7D7D77), a difference of 1.7 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 5.33:1).
#7F817B color codes
| HEX | #7F817B | |
|---|---|---|
| RGB | rgb(127, 129, 123) | |
| RGB percent | rgb(49.8%, 50.6%, 48.2%) | |
| HSL | hsl(80, 2%, 49%) | |
| HSV / HSB | hsv(80, 5%, 51%) | |
| CMYK | cmyk(2%, 0%, 5%, 49%) | |
| CIE LAB | lab(53.65, -1.93, 2.99) | |
| CIE LCH | lch(53.65, 3.55, 122.81) | |
| CIE XYZ | xyz(20.177, 21.643, 21.85) | |
| Decimal | 8356219 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7F817B, 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 #7F817B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.33:1 | Pass | Fail | Pass |
| Sample text | 3.94:1 | Fail | Fail | Pass |
| #7F817B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.94:1 | Fail | Fail | Pass |
| Sample text | 5.33: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 #7F817B looks to people with the most common types of color vision deficiency.
#82807bProtanopia
no red cones#82807bDeuteranopia
no green cones#80807fTritanopia
no blue cones#808080Achromatopsia
no color vision
CSS examples
.background { background-color: #7f817b; }
.text { color: #7f817b; }
.border { border: 2px solid #7f817b; }
.transparent { background-color: rgb(127 129 123 / 50%); }
.gradient { background: linear-gradient(to right, #7f817b, #7c817b); }
Similar colors
#7d7d77Moon Base#818581Happy Hippo#7a7c76Gunsmoke#827f79Concord#848482Battleship Gray#848482Old Silver#7c8181Whale#7f8181Mt. Rushmore
Questions
- What color is #7F817B?
- #7F817B is a gray, closest to the named color Moon Base. It belongs to the gray family of colors.
- What is the RGB value of #7F817B?
- The RGB value is 127, 129, 123: 127 red, 129 green and 123 blue on a 0 to 255 scale.
- What is the complementary color of #7F817B?
- The complementary color is #7D7B81, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7F817B?
- Black text. Black text has a contrast ratio of 5.33:1 and white text 3.94:1. WCAG asks for at least 4.5:1 for normal text.