#AAAF7E color
The hex color #AAAF7E is a grayish yellow.
In the RGB color model it is made of 66.7% red, 68.6% green and 49.4% blue (170, 175, 126).
Its hue angle is 66°, with 23% saturation and 59% lightness. For print, the CMYK equivalent is 3% cyan, 0% magenta, 28% yellow and 31% black.
The closest named color is Cardamom (#AAAA77), a difference of 2.1 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 9.14:1).
#AAAF7E color codes
| HEX | #AAAF7E | |
|---|---|---|
| RGB | rgb(170, 175, 126) | |
| RGB percent | rgb(66.7%, 68.6%, 49.4%) | |
| HSL | hsl(66, 23%, 59%) | |
| HSV / HSB | hsv(66, 28%, 69%) | |
| CMYK | cmyk(3%, 0%, 28%, 31%) | |
| CIE LAB | lab(69.97, -9.91, 24.61) | |
| CIE LCH | lch(69.97, 26.53, 111.94) | |
| CIE XYZ | xyz(35.673, 40.713, 25.714) | |
| Decimal | 11186046 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AAAF7E, 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 #AAAF7E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.14:1 | Pass | Pass | Pass |
| Sample text | 2.3:1 | Fail | Fail | Fail |
| #AAAF7E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.3:1 | Fail | Fail | Fail |
| Sample text | 9.14: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 #AAAF7E looks to people with the most common types of color vision deficiency.
#b6aa7bProtanopia
no red cones#b6ac80Deuteranopia
no green cones#b0a9a2Tritanopia
no blue cones#abababAchromatopsia
no color vision
CSS examples
.background { background-color: #aaaf7e; }
.text { color: #aaaf7e; }
.border { border: 2px solid #aaaf7e; }
.transparent { background-color: rgb(170 175 126 / 50%); }
.gradient { background: linear-gradient(to right, #aaaf7e, #91af7e); }
Similar colors
#aaaa77Cardamom#a5af76Estragon#afb982Nile#a1a46dWillow Leaf#b5b68fGreen Tea#aba77cOlive Tree#9aa77cForester#bcb88aSage
Questions
- What color is #AAAF7E?
- #AAAF7E is a grayish yellow, closest to the named color Cardamom. It belongs to the yellow family of colors.
- What is the RGB value of #AAAF7E?
- The RGB value is 170, 175, 126: 170 red, 175 green and 126 blue on a 0 to 255 scale.
- What is the complementary color of #AAAF7E?
- The complementary color is #837EAF, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AAAF7E?
- Black text. Black text has a contrast ratio of 9.14:1 and white text 2.3:1. WCAG asks for at least 4.5:1 for normal text.