#A8AF8A color
The hex color #A8AF8A is a grayish yellow-green.
In the RGB color model it is made of 65.9% red, 68.6% green and 54.1% blue (168, 175, 138).
Its hue angle is 71°, with 19% saturation and 61% lightness. For print, the CMYK equivalent is 4% cyan, 0% magenta, 21% yellow and 31% black.
The closest named color is Green Tea (#B5B68F), a difference of 3.2 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 9.16:1).
#A8AF8A color codes
| HEX | #A8AF8A | |
|---|---|---|
| RGB | rgb(168, 175, 138) | |
| RGB percent | rgb(65.9%, 68.6%, 54.1%) | |
| HSL | hsl(71, 19%, 61%) | |
| HSV / HSB | hsv(71, 21%, 69%) | |
| CMYK | cmyk(4%, 0%, 21%, 31%) | |
| CIE LAB | lab(70.05, -8.92, 18.19) | |
| CIE LCH | lch(70.05, 20.26, 116.12) | |
| CIE XYZ | xyz(36.065, 40.82, 30.019) | |
| Decimal | 11054986 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A8AF8A, 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 #A8AF8A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.16:1 | Pass | Pass | Pass |
| Sample text | 2.29:1 | Fail | Fail | Fail |
| #A8AF8A 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 #A8AF8A looks to people with the most common types of color vision deficiency.
#b4ab88Protanopia
no red cones#b4ac8bDeuteranopia
no green cones#acaba5Tritanopia
no blue cones#abababAchromatopsia
no color vision
CSS examples
.background { background-color: #a8af8a; }
.text { color: #a8af8a; }
.border { border: 2px solid #a8af8a; }
.transparent { background-color: rgb(168 175 138 / 50%); }
.gradient { background: linear-gradient(to right, #a8af8a, #96af8a); }
Similar colors
#b5b68fGreen Tea#9aa77cForester#9caf88Sage Green#aaad94Quiet Thicket#9ead92Rooftop Garden#a4b88fNorway#aaaa77Cardamom#9ca389Edamame
Questions
- What color is #A8AF8A?
- #A8AF8A is a grayish yellow-green, closest to the named color Green Tea. It belongs to the green family of colors.
- What is the RGB value of #A8AF8A?
- The RGB value is 168, 175, 138: 168 red, 175 green and 138 blue on a 0 to 255 scale.
- What is the complementary color of #A8AF8A?
- The complementary color is #918AAF, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A8AF8A?
- 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.