#787F6A color
The hex color #787F6A is a grayish yellow-green.
In the RGB color model it is made of 47.1% red, 49.8% green and 41.6% blue (120, 127, 106).
Its hue angle is 80°, with 9% saturation and 46% lightness. For print, the CMYK equivalent is 6% cyan, 0% magenta, 17% yellow and 50% black.
The closest named color is Camo Clay (#747F71), a difference of 3.2 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.04:1).
#787F6A color codes
| HEX | #787F6A | |
|---|---|---|
| RGB | rgb(120, 127, 106) | |
| RGB percent | rgb(47.1%, 49.8%, 41.6%) | |
| HSL | hsl(80, 9%, 46%) | |
| HSV / HSB | hsv(80, 17%, 50%) | |
| CMYK | cmyk(6%, 0%, 17%, 50%) | |
| CIE LAB | lab(52.08, -6.64, 10.55) | |
| CIE LCH | lch(52.08, 12.47, 122.18) | |
| CIE XYZ | xyz(17.936, 20.212, 16.589) | |
| Decimal | 7896938 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #787F6A, 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 #787F6A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.04:1 | Pass | Fail | Pass |
| Sample text | 4.16:1 | Fail | Fail | Pass |
| #787F6A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.16:1 | Fail | Fail | Pass |
| Sample text | 5.04: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 #787F6A looks to people with the most common types of color vision deficiency.
#827c69Protanopia
no red cones#817c6bDeuteranopia
no green cones#7a7d79Tritanopia
no blue cones#7c7c7cAchromatopsia
no color vision
CSS examples
.background { background-color: #787f6a; }
.text { color: #787f6a; }
.border { border: 2px solid #787f6a; }
.transparent { background-color: rgb(120 127 106 / 50%); }
.gradient { background: linear-gradient(to right, #787f6a, #6e7f6a); }
Similar colors
#747f71Camo Clay#808069Warm Gray#76856aWreath#7d8878Majestic Evergreen#738276Smoke#757461Mangrove#888877Kosher Khaki#6f7755Dill
Questions
- What color is #787F6A?
- #787F6A is a grayish yellow-green, closest to the named color Camo Clay. It belongs to the gray family of colors.
- What is the RGB value of #787F6A?
- The RGB value is 120, 127, 106: 120 red, 127 green and 106 blue on a 0 to 255 scale.
- What is the complementary color of #787F6A?
- The complementary color is #716A7F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #787F6A?
- Black text. Black text has a contrast ratio of 5.04:1 and white text 4.16:1. WCAG asks for at least 4.5:1 for normal text.