#A5AA7F color
The hex color #A5AA7F is a grayish yellow.
In the RGB color model it is made of 64.7% red, 66.7% green and 49.8% blue (165, 170, 127).
Its hue angle is 67°, with 20% saturation and 58% lightness. For print, the CMYK equivalent is 3% cyan, 0% magenta, 25% yellow and 33% black.
The closest named color is Cardamom (#AAAA77), a difference of 2.7 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 8.66:1).
#A5AA7F color codes
| HEX | #A5AA7F | |
|---|---|---|
| RGB | rgb(165, 170, 127) | |
| RGB percent | rgb(64.7%, 66.7%, 49.8%) | |
| HSL | hsl(67, 20%, 58%) | |
| HSV / HSB | hsv(67, 25%, 67%) | |
| CMYK | cmyk(3%, 0%, 25%, 33%) | |
| CIE LAB | lab(68.23, -9.08, 21.64) | |
| CIE LCH | lch(68.23, 23.47, 112.77) | |
| CIE XYZ | xyz(33.722, 38.281, 25.687) | |
| Decimal | 10857087 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A5AA7F, 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 #A5AA7F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.66:1 | Pass | Pass | Pass |
| Sample text | 2.43:1 | Fail | Fail | Fail |
| #A5AA7F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.43:1 | Fail | Fail | Fail |
| Sample text | 8.66: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 #A5AA7F looks to people with the most common types of color vision deficiency.
#b1a67cProtanopia
no red cones#b0a781Deuteranopia
no green cones#aaa59eTritanopia
no blue cones#a6a6a6Achromatopsia
no color vision
CSS examples
.background { background-color: #a5aa7f; }
.text { color: #a5aa7f; }
.border { border: 2px solid #a5aa7f; }
.transparent { background-color: rgb(165 170 127 / 50%); }
.gradient { background: linear-gradient(to right, #a5aa7f, #90aa7f); }
Similar colors
#aaaa77Cardamom#9aa77cForester#aba77cOlive Tree#a5af76Estragon#a1a46dWillow Leaf#b5b68fGreen Tea#9e9e7cBonsai Garden#9caf88Sage Green
Questions
- What color is #A5AA7F?
- #A5AA7F is a grayish yellow, closest to the named color Cardamom. It belongs to the yellow family of colors.
- What is the RGB value of #A5AA7F?
- The RGB value is 165, 170, 127: 165 red, 170 green and 127 blue on a 0 to 255 scale.
- What is the complementary color of #A5AA7F?
- The complementary color is #847FAA, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A5AA7F?
- Black text. Black text has a contrast ratio of 8.66:1 and white text 2.43:1. WCAG asks for at least 4.5:1 for normal text.