#A5A179 color
The hex color #A5A179 is a grayish yellow.
In the RGB color model it is made of 64.7% red, 63.1% green and 47.5% blue (165, 161, 121).
Its hue angle is 55°, with 20% saturation and 56% lightness. For print, the CMYK equivalent is 0% cyan, 2% magenta, 27% yellow and 35% black.
The closest named color is Olive Tree (#ABA77C), a difference of 1.9 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 7.97:1).
#A5A179 color codes
| HEX | #A5A179 | |
|---|---|---|
| RGB | rgb(165, 161, 121) | |
| RGB percent | rgb(64.7%, 63.1%, 47.5%) | |
| HSL | hsl(55, 20%, 56%) | |
| HSV / HSB | hsv(55, 27%, 65%) | |
| CMYK | cmyk(0%, 2%, 27%, 35%) | |
| CIE LAB | lab(65.65, -5.14, 21.41) | |
| CIE LCH | lch(65.65, 22.02, 103.49) | |
| CIE XYZ | xyz(31.713, 34.87, 23.145) | |
| Decimal | 10854777 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A5A179, 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 #A5A179 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.97:1 | Pass | Pass | Pass |
| Sample text | 2.63:1 | Fail | Fail | Fail |
| #A5A179 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.63:1 | Fail | Fail | Fail |
| Sample text | 7.97:1 | Pass | Pass | 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 #A5A179 looks to people with the most common types of color vision deficiency.
#a89e76Protanopia
no red cones#aaa17aDeuteranopia
no green cones#ac9c96Tritanopia
no blue cones#9f9f9fAchromatopsia
no color vision
CSS examples
.background { background-color: #a5a179; }
.text { color: #a5a179; }
.border { border: 2px solid #a5a179; }
.transparent { background-color: rgb(165 161 121 / 50%); }
.gradient { background: linear-gradient(to right, #a5a179, #93a579); }
Similar colors
#aba77cOlive Tree#9e9e7cBonsai Garden#9f9978A Frond in Need#b0a676Windy Meadow#b1a979Bamboo Forest#aaaa77Cardamom#a1a46dWillow Leaf#9a9e80Fennelly
Closest common color name: Sage.
Questions
- What color is #A5A179?
- #A5A179 is a grayish yellow, closest to the named color Olive Tree. It belongs to the yellow family of colors.
- What is the RGB value of #A5A179?
- The RGB value is 165, 161, 121: 165 red, 161 green and 121 blue on a 0 to 255 scale.
- What is the complementary color of #A5A179?
- The complementary color is #797DA5, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A5A179?
- Black text. Black text has a contrast ratio of 7.97:1 and white text 2.63:1. WCAG asks for at least 4.5:1 for normal text.