#7E8170 color
The hex color #7E8170 is a gray.
In the RGB color model it is made of 49.4% red, 50.6% green and 43.9% blue (126, 129, 112).
Its hue angle is 71°, with 7% saturation and 47% lightness. For print, the CMYK equivalent is 2% cyan, 0% magenta, 13% yellow and 49% black.
The closest named color is Warm Gray (#808069), a difference of 2.6 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.26:1).
#7E8170 color codes
| HEX | #7E8170 | |
|---|---|---|
| RGB | rgb(126, 129, 112) | |
| RGB percent | rgb(49.4%, 50.6%, 43.9%) | |
| HSL | hsl(71, 7%, 47%) | |
| HSV / HSB | hsv(71, 13%, 51%) | |
| CMYK | cmyk(2%, 0%, 13%, 49%) | |
| CIE LAB | lab(53.28, -4.35, 8.84) | |
| CIE LCH | lch(53.28, 9.86, 116.19) | |
| CIE XYZ | xyz(19.379, 21.306, 18.418) | |
| Decimal | 8290672 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7E8170, 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 #7E8170 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.26:1 | Pass | Fail | Pass |
| Sample text | 3.99:1 | Fail | Fail | Pass |
| #7E8170 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.99:1 | Fail | Fail | Pass |
| Sample text | 5.26: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 #7E8170 looks to people with the most common types of color vision deficiency.
#847f6fProtanopia
no red cones#837f71Deuteranopia
no green cones#807f7cTritanopia
no blue cones#7f7f7fAchromatopsia
no color vision
CSS examples
.background { background-color: #7e8170; }
.text { color: #7e8170; }
.border { border: 2px solid #7e8170; }
.transparent { background-color: rgb(126 129 112 / 50%); }
.gradient { background: linear-gradient(to right, #7e8170, #768170); }
Similar colors
#808069Warm Gray#888877Kosher Khaki#747f71Camo Clay#7d8878Majestic Evergreen#757461Mangrove#7a7c76Gunsmoke#738276Smoke#8b846dAntique
Questions
- What color is #7E8170?
- #7E8170 is a gray, closest to the named color Warm Gray. It belongs to the gray family of colors.
- What is the RGB value of #7E8170?
- The RGB value is 126, 129, 112: 126 red, 129 green and 112 blue on a 0 to 255 scale.
- What is the complementary color of #7E8170?
- The complementary color is #737081, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7E8170?
- 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.