#787F61 color
The hex color #787F61 is a grayish yellow-green.
In the RGB color model it is made of 47.1% red, 49.8% green and 38% blue (120, 127, 97).
Its hue angle is 74°, with 13% saturation and 44% lightness. For print, the CMYK equivalent is 6% cyan, 0% magenta, 24% yellow and 50% black.
The closest named color is Bonsai (#787B54), a difference of 3.6 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.01:1).
#787F61 color codes
| HEX | #787F61 | |
|---|---|---|
| RGB | rgb(120, 127, 97) | |
| RGB percent | rgb(47.1%, 49.8%, 38%) | |
| HSL | hsl(74, 13%, 44%) | |
| HSV / HSB | hsv(74, 24%, 50%) | |
| CMYK | cmyk(6%, 0%, 24%, 50%) | |
| CIE LAB | lab(51.88, -8.16, 15.48) | |
| CIE LCH | lch(51.88, 17.5, 117.81) | |
| CIE XYZ | xyz(17.493, 20.035, 14.253) | |
| Decimal | 7896929 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #787F61, 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 #787F61 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.01:1 | Pass | Fail | Pass |
| Sample text | 4.19:1 | Fail | Fail | Pass |
| #787F61 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.19:1 | Fail | Fail | Pass |
| Sample text | 5.01: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 #787F61 looks to people with the most common types of color vision deficiency.
#837c5fProtanopia
no red cones#827c62Deuteranopia
no green cones#7b7c77Tritanopia
no blue cones#7c7c7cAchromatopsia
no color vision
CSS examples
.background { background-color: #787f61; }
.text { color: #787f61; }
.border { border: 2px solid #787f61; }
.transparent { background-color: rgb(120 127 97 / 50%); }
.gradient { background: linear-gradient(to right, #787f61, #697f61); }
Similar colors
#787b54Bonsai#6f7755Dill#7b8762Green Relict#76856aWreath#808069Warm Gray#6a7e5fEmerald City#747f71Camo Clay#7d8878Majestic Evergreen
Questions
- What color is #787F61?
- #787F61 is a grayish yellow-green, closest to the named color Bonsai. It belongs to the green family of colors.
- What is the RGB value of #787F61?
- The RGB value is 120, 127, 97: 120 red, 127 green and 97 blue on a 0 to 255 scale.
- What is the complementary color of #787F61?
- The complementary color is #68617F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #787F61?
- Black text. Black text has a contrast ratio of 5.01:1 and white text 4.19:1. WCAG asks for at least 4.5:1 for normal text.