#7E8C7D color
The hex color #7E8C7D is a gray.
In the RGB color model it is made of 49.4% red, 54.9% green and 49% blue (126, 140, 125).
Its hue angle is 116°, with 6% saturation and 52% lightness. For print, the CMYK equivalent is 10% cyan, 0% magenta, 11% yellow and 45% black.
The closest named color is Majestic Evergreen (#7D8878), a difference of 1.8 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 5.93:1).
#7E8C7D color codes
| HEX | #7E8C7D | |
|---|---|---|
| RGB | rgb(126, 140, 125) | |
| RGB percent | rgb(49.4%, 54.9%, 49%) | |
| HSL | hsl(116, 6%, 52%) | |
| HSV / HSB | hsv(116, 11%, 55%) | |
| CMYK | cmyk(10%, 0%, 11%, 45%) | |
| CIE LAB | lab(56.75, -8.08, 6.3) | |
| CIE LCH | lch(56.75, 10.25, 142.08) | |
| CIE XYZ | xyz(21.683, 24.672, 23.018) | |
| Decimal | 8293501 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7E8C7D, 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 #7E8C7D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.93:1 | Pass | Fail | Pass |
| Sample text | 3.54:1 | Fail | Fail | Pass |
| #7E8C7D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.54:1 | Fail | Fail | Pass |
| Sample text | 5.93: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 #7E8C7D looks to people with the most common types of color vision deficiency.
#8d897cProtanopia
no red cones#8a887eDeuteranopia
no green cones#7d8b88Tritanopia
no blue cones#888888Achromatopsia
no color vision
CSS examples
.background { background-color: #7e8c7d; }
.text { color: #7e8c7d; }
.border { border: 2px solid #7e8c7d; }
.transparent { background-color: rgb(126 140 125 / 50%); }
.gradient { background: linear-gradient(to right, #7e8c7d, #7d8c84); }
Similar colors
#7d8878Majestic Evergreen#828e84Mummy’s Tomb#8a9480Aloe Tip#738276Smoke#747f71Camo Clay#74857fArmour#6f8770Thyme and Place#76856aWreath
Questions
- What color is #7E8C7D?
- #7E8C7D is a gray, closest to the named color Majestic Evergreen. It belongs to the gray family of colors.
- What is the RGB value of #7E8C7D?
- The RGB value is 126, 140, 125: 126 red, 140 green and 125 blue on a 0 to 255 scale.
- What is the complementary color of #7E8C7D?
- The complementary color is #8B7D8C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7E8C7D?
- Black text. Black text has a contrast ratio of 5.93:1 and white text 3.54:1. WCAG asks for at least 4.5:1 for normal text.