#8A8F5A color
The hex color #8A8F5A is a grayish yellow.
In the RGB color model it is made of 54.1% red, 56.1% green and 35.3% blue (138, 143, 90).
Its hue angle is 66°, with 23% saturation and 46% lightness. For print, the CMYK equivalent is 3% cyan, 0% magenta, 37% yellow and 44% black.
The closest named color is Green Olive (#8D8B55), a difference of 2.6 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.16:1).
#8A8F5A color codes
| HEX | #8A8F5A | |
|---|---|---|
| RGB | rgb(138, 143, 90) | |
| RGB percent | rgb(54.1%, 56.1%, 35.3%) | |
| HSL | hsl(66, 23%, 46%) | |
| HSV / HSB | hsv(66, 37%, 56%) | |
| CMYK | cmyk(3%, 0%, 37%, 44%) | |
| CIE LAB | lab(57.83, -10.56, 27.62) | |
| CIE LCH | lch(57.83, 29.57, 110.93) | |
| CIE XYZ | xyz(22.149, 25.787, 13.481) | |
| Decimal | 9080666 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #8A8F5A, 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 #8A8F5A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.16:1 | Pass | Fail | Pass |
| Sample text | 3.41:1 | Fail | Fail | Pass |
| #8A8F5A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.41:1 | Fail | Fail | Pass |
| Sample text | 6.16: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 #8A8F5A looks to people with the most common types of color vision deficiency.
#968a56Protanopia
no red cones#968c5cDeuteranopia
no green cones#908982Tritanopia
no blue cones#8b8b8bAchromatopsia
no color vision
CSS examples
.background { background-color: #8a8f5a; }
.text { color: #8a8f5a; }
.border { border: 2px solid #8a8f5a; }
.transparent { background-color: rgb(138 143 90 / 50%); }
.gradient { background: linear-gradient(to right, #8a8f5a, #708f5a); }
Similar colors
#8d8b55Green Olive#878757Iguana#8c8e65Paid in Full#948f54Amazon Queen#95986bGuacamole#8a966aBullfrog#909853Totally Broccoli#8f9b5bVitality
Closest common color name: Moss Green.
Questions
- What color is #8A8F5A?
- #8A8F5A is a grayish yellow, closest to the named color Green Olive. It belongs to the yellow family of colors.
- What is the RGB value of #8A8F5A?
- The RGB value is 138, 143, 90: 138 red, 143 green and 90 blue on a 0 to 255 scale.
- What is the complementary color of #8A8F5A?
- The complementary color is #5F5A8F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #8A8F5A?
- Black text. Black text has a contrast ratio of 6.16:1 and white text 3.41:1. WCAG asks for at least 4.5:1 for normal text.