#8A9178 color
The hex color #8A9178 is a grayish yellow-green.
In the RGB color model it is made of 54.1% red, 56.9% green and 47.1% blue (138, 145, 120).
Its hue angle is 77°, with 10% saturation and 52% lightness. For print, the CMYK equivalent is 5% cyan, 0% magenta, 17% yellow and 43% black.
The closest named color is Aloe Tip (#8A9480), a difference of 2.4 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.4:1).
#8A9178 color codes
| HEX | #8A9178 | |
|---|---|---|
| RGB | rgb(138, 145, 120) | |
| RGB percent | rgb(54.1%, 56.9%, 47.1%) | |
| HSL | hsl(77, 10%, 52%) | |
| HSV / HSB | hsv(77, 17%, 57%) | |
| CMYK | cmyk(5%, 0%, 17%, 43%) | |
| CIE LAB | lab(58.98, -7.19, 12.43) | |
| CIE LCH | lch(58.98, 14.36, 120.05) | |
| CIE XYZ | xyz(23.996, 27.01, 21.715) | |
| Decimal | 9081208 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #8A9178, 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 #8A9178 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.4:1 | Pass | Fail | Pass |
| Sample text | 3.28:1 | Fail | Fail | Pass |
| #8A9178 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.28:1 | Fail | Fail | Pass |
| Sample text | 6.4: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 #8A9178 looks to people with the most common types of color vision deficiency.
#948e77Protanopia
no red cones#948e79Deuteranopia
no green cones#8c8e8aTritanopia
no blue cones#8e8e8eAchromatopsia
no color vision
CSS examples
.background { background-color: #8a9178; }
.text { color: #8a9178; }
.border { border: 2px solid #8a9178; }
.transparent { background-color: rgb(138 145 120 / 50%); }
.gradient { background: linear-gradient(to right, #8a9178, #7d9178); }
Similar colors
#8a9480Aloe Tip#8f9779Artichoke#93977fSwamp Sessions#8f917cFarmer’s Market#919c81Whispering Willow#969e86Herbalist#879877Backyard#9a9e80Fennelly
Closest common color name: Warm Gray.
Questions
- What color is #8A9178?
- #8A9178 is a grayish yellow-green, closest to the named color Aloe Tip. It belongs to the green family of colors.
- What is the RGB value of #8A9178?
- The RGB value is 138, 145, 120: 138 red, 145 green and 120 blue on a 0 to 255 scale.
- What is the complementary color of #8A9178?
- The complementary color is #7F7891, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #8A9178?
- Black text. Black text has a contrast ratio of 6.4:1 and white text 3.28:1. WCAG asks for at least 4.5:1 for normal text.