#A6AA7F color
The hex color #A6AA7F is a grayish yellow.
In the RGB color model it is made of 65.1% red, 66.7% green and 49.8% blue (166, 170, 127).
Its hue angle is 66°, with 20% saturation and 58% lightness. For print, the CMYK equivalent is 2% cyan, 0% magenta, 25% yellow and 33% black.
The closest named color is Cardamom (#AAAA77), a difference of 2.5 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 8.68:1).
#A6AA7F color codes
| HEX | #A6AA7F | |
|---|---|---|
| RGB | rgb(166, 170, 127) | |
| RGB percent | rgb(65.1%, 66.7%, 49.8%) | |
| HSL | hsl(66, 20%, 58%) | |
| HSV / HSB | hsv(66, 25%, 67%) | |
| CMYK | cmyk(2%, 0%, 25%, 33%) | |
| CIE LAB | lab(68.31, -8.69, 21.76) | |
| CIE LCH | lch(68.31, 23.43, 111.78) | |
| CIE XYZ | xyz(33.931, 38.389, 25.697) | |
| Decimal | 10922623 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A6AA7F, 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 #A6AA7F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.68:1 | Pass | Pass | Pass |
| Sample text | 2.42:1 | Fail | Fail | Fail |
| #A6AA7F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.42:1 | Fail | Fail | Fail |
| Sample text | 8.68: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 #A6AA7F looks to people with the most common types of color vision deficiency.
#b1a67cProtanopia
no red cones#b1a781Deuteranopia
no green cones#aca59eTritanopia
no blue cones#a7a7a7Achromatopsia
no color vision
CSS examples
.background { background-color: #a6aa7f; }
.text { color: #a6aa7f; }
.border { border: 2px solid #a6aa7f; }
.transparent { background-color: rgb(166 170 127 / 50%); }
.gradient { background: linear-gradient(to right, #a6aa7f, #91aa7f); }
Similar colors
#aaaa77Cardamom#aba77cOlive Tree#9aa77cForester#a1a46dWillow Leaf#a5af76Estragon#b5b68fGreen Tea#9e9e7cBonsai Garden#b1a979Bamboo Forest
Closest common color name: Sage Green.
Questions
- What color is #A6AA7F?
- #A6AA7F is a grayish yellow, closest to the named color Cardamom. It belongs to the yellow family of colors.
- What is the RGB value of #A6AA7F?
- The RGB value is 166, 170, 127: 166 red, 170 green and 127 blue on a 0 to 255 scale.
- What is the complementary color of #A6AA7F?
- The complementary color is #837FAA, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A6AA7F?
- Black text. Black text has a contrast ratio of 8.68:1 and white text 2.42:1. WCAG asks for at least 4.5:1 for normal text.