#8A8E78 color
The hex color #8A8E78 is a grayish yellow-green.
In the RGB color model it is made of 54.1% red, 55.7% green and 47.1% blue (138, 142, 120).
Its hue angle is 71°, with 9% saturation and 51% lightness. For print, the CMYK equivalent is 3% cyan, 0% magenta, 15% yellow and 44% black.
The closest named color is Farmer’s Market (#8F917C), a difference of 1.6 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 6.22:1).
#8A8E78 color codes
| HEX | #8A8E78 | |
|---|---|---|
| RGB | rgb(138, 142, 120) | |
| RGB percent | rgb(54.1%, 55.7%, 47.1%) | |
| HSL | hsl(71, 9%, 51%) | |
| HSV / HSB | hsv(71, 15%, 56%) | |
| CMYK | cmyk(3%, 0%, 15%, 44%) | |
| CIE LAB | lab(58.14, -5.54, 11.24) | |
| CIE LCH | lch(58.14, 12.53, 116.23) | |
| CIE XYZ | xyz(23.544, 26.105, 21.564) | |
| Decimal | 9080440 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #8A8E78, 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 #8A8E78 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.22:1 | Pass | Fail | Pass |
| Sample text | 3.38:1 | Fail | Fail | Pass |
| #8A8E78 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.38:1 | Fail | Fail | Pass |
| Sample text | 6.22: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 #8A8E78 looks to people with the most common types of color vision deficiency.
#918c77Protanopia
no red cones#918c79Deuteranopia
no green cones#8d8b88Tritanopia
no blue cones#8c8c8cAchromatopsia
no color vision
CSS examples
.background { background-color: #8a8e78; }
.text { color: #8a8e78; }
.border { border: 2px solid #8a8e78; }
.transparent { background-color: rgb(138 142 120 / 50%); }
.gradient { background: linear-gradient(to right, #8a8e78, #7f8e78); }
Similar colors
#8f917cFarmer’s Market#93977fSwamp Sessions#8a9480Aloe Tip#888877Kosher Khaki#8f9779Artichoke#7d8878Majestic Evergreen#999a86Lemongrass#999988Concrete Jungle
Closest common color name: Warm Gray.
Questions
- What color is #8A8E78?
- #8A8E78 is a grayish yellow-green, closest to the named color Farmer’s Market. It belongs to the gray family of colors.
- What is the RGB value of #8A8E78?
- The RGB value is 138, 142, 120: 138 red, 142 green and 120 blue on a 0 to 255 scale.
- What is the complementary color of #8A8E78?
- The complementary color is #7C788E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #8A8E78?
- Black text. Black text has a contrast ratio of 6.22:1 and white text 3.38:1. WCAG asks for at least 4.5:1 for normal text.