#AAAF82 color
The hex color #AAAF82 is a grayish yellow.
In the RGB color model it is made of 66.7% red, 68.6% green and 51% blue (170, 175, 130).
Its hue angle is 67°, with 22% saturation and 60% lightness. For print, the CMYK equivalent is 3% cyan, 0% magenta, 26% yellow and 31% 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 9.16:1).
#AAAF82 color codes
| HEX | #AAAF82 | |
|---|---|---|
| RGB | rgb(170, 175, 130) | |
| RGB percent | rgb(66.7%, 68.6%, 51%) | |
| HSL | hsl(67, 22%, 60%) | |
| HSV / HSB | hsv(67, 26%, 69%) | |
| CMYK | cmyk(3%, 0%, 26%, 31%) | |
| CIE LAB | lab(70.05, -9.35, 22.55) | |
| CIE LCH | lch(70.05, 24.41, 112.51) | |
| CIE XYZ | xyz(35.937, 40.818, 27.1) | |
| Decimal | 11186050 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AAAF82, 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 #AAAF82 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.16:1 | Pass | Pass | Pass |
| Sample text | 2.29:1 | Fail | Fail | Fail |
| #AAAF82 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.29:1 | Fail | Fail | Fail |
| Sample text | 9.16: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 #AAAF82 looks to people with the most common types of color vision deficiency.
#b6ab7fProtanopia
no red cones#b6ac84Deuteranopia
no green cones#b0aaa3Tritanopia
no blue cones#abababAchromatopsia
no color vision
CSS examples
.background { background-color: #aaaf82; }
.text { color: #aaaf82; }
.border { border: 2px solid #aaaf82; }
.transparent { background-color: rgb(170 175 130 / 50%); }
.gradient { background: linear-gradient(to right, #aaaf82, #93af82); }
Similar colors
#aaaa77Cardamom#a5af76Estragon#b5b68fGreen Tea#afb982Nile#aba77cOlive Tree#9aa77cForester#a1a46dWillow Leaf#bcb88aSage
Questions
- What color is #AAAF82?
- #AAAF82 is a grayish yellow, closest to the named color Cardamom. It belongs to the yellow family of colors.
- What is the RGB value of #AAAF82?
- The RGB value is 170, 175, 130: 170 red, 175 green and 130 blue on a 0 to 255 scale.
- What is the complementary color of #AAAF82?
- The complementary color is #8782AF, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AAAF82?
- Black text. Black text has a contrast ratio of 9.16:1 and white text 2.29:1. WCAG asks for at least 4.5:1 for normal text.