#788255 color
The hex color #788255 is a grayish yellow-green.
In the RGB color model it is made of 47.1% red, 51% green and 33.3% blue (120, 130, 85).
Its hue angle is 73°, with 21% saturation and 42% lightness. For print, the CMYK equivalent is 8% cyan, 0% magenta, 35% yellow and 49% black.
The closest named color is Grasshopper (#77824A), a difference of 2.7 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.12:1).
#788255 color codes
| HEX | #788255 | |
|---|---|---|
| RGB | rgb(120, 130, 85) | |
| RGB percent | rgb(47.1%, 51%, 33.3%) | |
| HSL | hsl(73, 21%, 42%) | |
| HSV / HSB | hsv(73, 35%, 51%) | |
| CMYK | cmyk(8%, 0%, 35%, 49%) | |
| CIE LAB | lab(52.52, -11.63, 23.18) | |
| CIE LCH | lch(52.52, 25.94, 116.65) | |
| CIE XYZ | xyz(17.368, 20.614, 11.657) | |
| Decimal | 7897685 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #788255, 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 #788255 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.12:1 | Pass | Fail | Pass |
| Sample text | 4.1:1 | Fail | Fail | Pass |
| #788255 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.1:1 | Fail | Fail | Pass |
| Sample text | 5.12: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 #788255 looks to people with the most common types of color vision deficiency.
#887d52Protanopia
no red cones#877e57Deuteranopia
no green cones#7c7d77Tritanopia
no blue cones#7d7d7dAchromatopsia
no color vision
CSS examples
.background { background-color: #788255; }
.text { color: #788255; }
.border { border: 2px solid #788255; }
.transparent { background-color: rgb(120 130 85 / 50%); }
.gradient { background: linear-gradient(to right, #788255, #628255); }
Similar colors
#77824aGrasshopper#7b8762Green Relict#787b54Bonsai#768b59Moss Gardens#878757Iguana#688049Beyond the Pines#6f7755Dill#79774aTree Hugger
Closest common color name: Warm Gray.
Questions
- What color is #788255?
- #788255 is a grayish yellow-green, closest to the named color Grasshopper. It belongs to the green family of colors.
- What is the RGB value of #788255?
- The RGB value is 120, 130, 85: 120 red, 130 green and 85 blue on a 0 to 255 scale.
- What is the complementary color of #788255?
- The complementary color is #5F5582, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #788255?
- Black text. Black text has a contrast ratio of 5.12:1 and white text 4.1:1. WCAG asks for at least 4.5:1 for normal text.