#787A6A color
The hex color #787A6A is a gray.
In the RGB color model it is made of 47.1% red, 47.8% green and 41.6% blue (120, 122, 106).
Its hue angle is 68°, with 7% saturation and 45% lightness. For print, the CMYK equivalent is 2% cyan, 0% magenta, 13% yellow and 52% black.
The closest named color is Mangrove (#757461), a difference of 2.9 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 4.79:1).
#787A6A color codes
| HEX | #787A6A | |
|---|---|---|
| RGB | rgb(120, 122, 106) | |
| RGB percent | rgb(47.1%, 47.8%, 41.6%) | |
| HSL | hsl(68, 7%, 45%) | |
| HSV / HSB | hsv(68, 13%, 48%) | |
| CMYK | cmyk(2%, 0%, 13%, 52%) | |
| CIE LAB | lab(50.63, -3.81, 8.52) | |
| CIE LCH | lch(50.63, 9.33, 114.11) | |
| CIE XYZ | xyz(17.306, 18.953, 16.379) | |
| Decimal | 7895658 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #787A6A, 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 #787A6A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.79:1 | Pass | Fail | Pass |
| Sample text | 4.38:1 | Fail | Fail | Pass |
| #787A6A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.38:1 | Fail | Fail | Pass |
| Sample text | 4.79: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 #787A6A looks to people with the most common types of color vision deficiency.
#7d7869Protanopia
no red cones#7d796bDeuteranopia
no green cones#7a7875Tritanopia
no blue cones#797979Achromatopsia
no color vision
CSS examples
.background { background-color: #787a6a; }
.text { color: #787a6a; }
.border { border: 2px solid #787a6a; }
.transparent { background-color: rgb(120 122 106 / 50%); }
.gradient { background: linear-gradient(to right, #787a6a, #707a6a); }
Similar colors
#757461Mangrove#747261Organic#808069Warm Gray#747f71Camo Clay#78776fWolf Pack#7a7c76Gunsmoke#7d7d77Moon Base#888877Kosher Khaki
Questions
- What color is #787A6A?
- #787A6A is a gray, closest to the named color Mangrove. It belongs to the gray family of colors.
- What is the RGB value of #787A6A?
- The RGB value is 120, 122, 106: 120 red, 122 green and 106 blue on a 0 to 255 scale.
- What is the complementary color of #787A6A?
- The complementary color is #6C6A7A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #787A6A?
- Black text. Black text has a contrast ratio of 4.79:1 and white text 4.38:1. WCAG asks for at least 4.5:1 for normal text.