#8A7E4A color
The hex color #8A7E4A is a desaturated yellow.
In the RGB color model it is made of 54.1% red, 49.4% green and 29% blue (138, 126, 74).
Its hue angle is 49°, with 30% saturation and 42% lightness. For print, the CMYK equivalent is 0% cyan, 9% magenta, 46% yellow and 46% black.
The closest named color is Rural Green (#8D844D), a difference of 2.4 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.16:1).
#8A7E4A color codes
| HEX | #8A7E4A | |
|---|---|---|
| RGB | rgb(138, 126, 74) | |
| RGB percent | rgb(54.1%, 49.4%, 29%) | |
| HSL | hsl(49, 30%, 42%) | |
| HSV / HSB | hsv(49, 46%, 54%) | |
| CMYK | cmyk(0%, 9%, 46%, 46%) | |
| CIE LAB | lab(52.75, -3.08, 29.88) | |
| CIE LCH | lch(52.75, 30.04, 95.88) | |
| CIE XYZ | xyz(19.179, 20.82, 9.486) | |
| Decimal | 9076298 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #8A7E4A, 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 #8A7E4A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.16:1 | Pass | Fail | Pass |
| Sample text | 4.07:1 | Fail | Fail | Pass |
| #8A7E4A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.07:1 | Fail | Fail | Pass |
| Sample text | 5.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 #8A7E4A looks to people with the most common types of color vision deficiency.
#887c46Protanopia
no red cones#8b804cDeuteranopia
no green cones#937771Tritanopia
no blue cones#7e7e7eAchromatopsia
no color vision
CSS examples
.background { background-color: #8a7e4a; }
.text { color: #8a7e4a; }
.border { border: 2px solid #8a7e4a; }
.transparent { background-color: rgb(138 126 74 / 50%); }
.gradient { background: linear-gradient(to right, #8a7e4a, #768a4a); }
Similar colors
#8d844dRural Green#897a3eCapers#86793dBay Leaf#817c4aVerdant Leaf#8c7f3cPeas Please#7c754cGreek Oregano#978c59In a Pickle#828039Green Commando
Closest common color name: Warm Gray.
Questions
- What color is #8A7E4A?
- #8A7E4A is a desaturated yellow, closest to the named color Rural Green. It belongs to the brown family of colors.
- What is the RGB value of #8A7E4A?
- The RGB value is 138, 126, 74: 138 red, 126 green and 74 blue on a 0 to 255 scale.
- What is the complementary color of #8A7E4A?
- The complementary color is #4A568A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #8A7E4A?
- Black text. Black text has a contrast ratio of 5.16:1 and white text 4.07:1. WCAG asks for at least 4.5:1 for normal text.