#A2A871 color
The hex color #A2A871 is a grayish yellow.
In the RGB color model it is made of 63.5% red, 65.9% green and 44.3% blue (162, 168, 113).
Its hue angle is 67°, with 24% saturation and 55% lightness. For print, the CMYK equivalent is 4% cyan, 0% magenta, 33% yellow and 34% black.
The closest named color is Willow Leaf (#A1A46D), a difference of 1.4 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 8.38:1).
#A2A871 color codes
| HEX | #A2A871 | |
|---|---|---|
| RGB | rgb(162, 168, 113) | |
| RGB percent | rgb(63.5%, 65.9%, 44.3%) | |
| HSL | hsl(67, 24%, 55%) | |
| HSV / HSB | hsv(67, 33%, 66%) | |
| CMYK | cmyk(4%, 0%, 33%, 34%) | |
| CIE LAB | lab(67.19, -11.15, 27.76) | |
| CIE LCH | lch(67.19, 29.92, 111.88) | |
| CIE XYZ | xyz(31.884, 36.879, 21.058) | |
| Decimal | 10659953 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A2A871, 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 #A2A871 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.38:1 | Pass | Pass | Pass |
| Sample text | 2.51:1 | Fail | Fail | Fail |
| #A2A871 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.51:1 | Fail | Fail | Fail |
| Sample text | 8.38: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 #A2A871 looks to people with the most common types of color vision deficiency.
#b0a36dProtanopia
no red cones#b0a473Deuteranopia
no green cones#a8a29aTritanopia
no blue cones#a4a4a4Achromatopsia
no color vision
CSS examples
.background { background-color: #a2a871; }
.text { color: #a2a871; }
.border { border: 2px solid #a2a871; }
.transparent { background-color: rgb(162 168 113 / 50%); }
.gradient { background: linear-gradient(to right, #a2a871, #87a871); }
Similar colors
#a1a46dWillow Leaf#a5af76Estragon#aaaa77Cardamom#9faf6cMatcha Mecha#99aa66Gallant Green#9aa77cForester#aba77cOlive Tree#a09f5bGarden of Earthly Delights
Closest common color name: Moss Green.
Questions
- What color is #A2A871?
- #A2A871 is a grayish yellow, closest to the named color Willow Leaf. It belongs to the yellow family of colors.
- What is the RGB value of #A2A871?
- The RGB value is 162, 168, 113: 162 red, 168 green and 113 blue on a 0 to 255 scale.
- What is the complementary color of #A2A871?
- The complementary color is #7771A8, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A2A871?
- Black text. Black text has a contrast ratio of 8.38:1 and white text 2.51:1. WCAG asks for at least 4.5:1 for normal text.