#817D7F color
The hex color #817D7F is a gray.
In the RGB color model it is made of 50.6% red, 49% green and 49.8% blue (129, 125, 127).
Its hue angle is 330°, with 2% saturation and 50% lightness. For print, the CMYK equivalent is 0% cyan, 3% magenta, 2% yellow and 49% black.
The closest named color is Gray (#808080), a difference of 2.8 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.17:1).
#817D7F color codes
| HEX | #817D7F | |
|---|---|---|
| RGB | rgb(129, 125, 127) | |
| RGB percent | rgb(50.6%, 49%, 49.8%) | |
| HSL | hsl(330, 2%, 50%) | |
| HSV / HSB | hsv(330, 3%, 51%) | |
| CMYK | cmyk(0%, 3%, 2%, 49%) | |
| CIE LAB | lab(52.8, 1.9, -0.55) | |
| CIE LCH | lch(52.8, 1.98, 343.89) | |
| CIE XYZ | xyz(20.217, 20.867, 23.037) | |
| Decimal | 8486271 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #817D7F, 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 #817D7F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.17:1 | Pass | Fail | Pass |
| Sample text | 4.06:1 | Fail | Fail | Pass |
| #817D7F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.06:1 | Fail | Fail | Pass |
| Sample text | 5.17: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 #817D7F looks to people with the most common types of color vision deficiency.
#7d7e7fProtanopia
no red cones#7e7e7fDeuteranopia
no green cones#827d7eTritanopia
no blue cones#7e7e7eAchromatopsia
no color vision
CSS examples
.background { background-color: #817d7f; }
.text { color: #817d7f; }
.border { border: 2px solid #817d7f; }
.transparent { background-color: rgb(129 125 127 / 50%); }
.gradient { background: linear-gradient(to right, #817d7f, #817d7d); }
Similar colors
#808080Gray#828287Lunar Outpost#7e8082Ironside#858381Lingering Storm#827b77Mule#8b8685Detective Coat#858585Black Mana#777777Lucky Gray
Questions
- What color is #817D7F?
- #817D7F is a gray, closest to the named color Gray. It belongs to the gray family of colors.
- What is the RGB value of #817D7F?
- The RGB value is 129, 125, 127: 129 red, 125 green and 127 blue on a 0 to 255 scale.
- What is the complementary color of #817D7F?
- The complementary color is #7D817F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #817D7F?
- Black text. Black text has a contrast ratio of 5.17:1 and white text 4.06:1. WCAG asks for at least 4.5:1 for normal text.