#788B7F color
The hex color #788B7F is a gray.
In the RGB color model it is made of 47.1% red, 54.5% green and 49.8% blue (120, 139, 127).
Its hue angle is 142°, with 8% saturation and 51% lightness. For print, the CMYK equivalent is 14% cyan, 0% magenta, 9% yellow and 45% black.
The closest named color is Mummy’s Tomb (#828E84), a difference of 3.3 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.8:1).
#788B7F color codes
| HEX | #788B7F | |
|---|---|---|
| RGB | rgb(120, 139, 127) | |
| RGB percent | rgb(47.1%, 54.5%, 49.8%) | |
| HSL | hsl(142, 8%, 51%) | |
| HSV / HSB | hsv(142, 14%, 55%) | |
| CMYK | cmyk(14%, 0%, 9%, 45%) | |
| CIE LAB | lab(56.08, -9.33, 4.12) | |
| CIE LCH | lch(56.08, 10.2, 156.18) | |
| CIE XYZ | xyz(20.808, 23.99, 23.609) | |
| Decimal | 7900031 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #788B7F, 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 #788B7F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.8:1 | Pass | Fail | Pass |
| Sample text | 3.62:1 | Fail | Fail | Pass |
| #788B7F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.62:1 | Fail | Fail | Pass |
| Sample text | 5.8: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 #788B7F looks to people with the most common types of color vision deficiency.
#8b887eProtanopia
no red cones#878580Deuteranopia
no green cones#758b87Tritanopia
no blue cones#868686Achromatopsia
no color vision
CSS examples
.background { background-color: #788b7f; }
.text { color: #788b7f; }
.border { border: 2px solid #788b7f; }
.transparent { background-color: rgb(120 139 127 / 50%); }
.gradient { background: linear-gradient(to right, #788b7f, #788b89); }
Similar colors
#828e84Mummy’s Tomb#738276Smoke#74857fArmour#7d8878Majestic Evergreen#678779Aloe Vera#747f71Camo Clay#6f8770Thyme and Place#677f70Ecological
Questions
- What color is #788B7F?
- #788B7F is a gray, closest to the named color Mummy’s Tomb. It belongs to the gray family of colors.
- What is the RGB value of #788B7F?
- The RGB value is 120, 139, 127: 120 red, 139 green and 127 blue on a 0 to 255 scale.
- What is the complementary color of #788B7F?
- The complementary color is #8B7884, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #788B7F?
- Black text. Black text has a contrast ratio of 5.8:1 and white text 3.62:1. WCAG asks for at least 4.5:1 for normal text.