#A8A8A2 color
The hex color #A8A8A2 is a gray.
In the RGB color model it is made of 65.9% red, 65.9% green and 63.5% blue (168, 168, 162).
Its hue angle is 60°, with 3% saturation and 65% lightness. For print, the CMYK equivalent is 0% cyan, 0% magenta, 4% yellow and 34% black.
The closest named color is Windless Morning (#ABA9A0), a difference of 1.6 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 8.79:1).
#A8A8A2 color codes
| HEX | #A8A8A2 | |
|---|---|---|
| RGB | rgb(168, 168, 162) | |
| RGB percent | rgb(65.9%, 65.9%, 63.5%) | |
| HSL | hsl(60, 3%, 65%) | |
| HSV / HSB | hsv(60, 4%, 66%) | |
| CMYK | cmyk(0%, 0%, 4%, 34%) | |
| CIE LAB | lab(68.71, -1.12, 3.09) | |
| CIE LCH | lch(68.71, 3.29, 109.84) | |
| CIE XYZ | xyz(36.672, 38.939, 39.759) | |
| Decimal | 11053218 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A8A8A2, 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 #A8A8A2 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.79:1 | Pass | Pass | Pass |
| Sample text | 2.39:1 | Fail | Fail | Fail |
| #A8A8A2 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.39:1 | Fail | Fail | Fail |
| Sample text | 8.79: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 #A8A8A2 looks to people with the most common types of color vision deficiency.
#a9a7a2Protanopia
no red cones#a9a8a2Deuteranopia
no green cones#a9a7a6Tritanopia
no blue cones#a8a8a8Achromatopsia
no color vision
CSS examples
.background { background-color: #a8a8a2; }
.text { color: #a8a8a2; }
.border { border: 2px solid #a8a8a2; }
.transparent { background-color: rgb(168 168 162 / 50%); }
.gradient { background: linear-gradient(to right, #a8a8a2, #a5a8a2); }
Similar colors
#aba9a0Windless Morning#acaaa7Cathedral#a0a09cGateway Gray#a8a9a8Elephant in the Room#b2b2adSteam Engine#a7a7a7Moon Landing#a9a9a9Dark Gray#a6a6a6Quicksilver
Questions
- What color is #A8A8A2?
- #A8A8A2 is a gray, closest to the named color Windless Morning. It belongs to the gray family of colors.
- What is the RGB value of #A8A8A2?
- The RGB value is 168, 168, 162: 168 red, 168 green and 162 blue on a 0 to 255 scale.
- What is the complementary color of #A8A8A2?
- The complementary color is #A2A2A8, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A8A8A2?
- Black text. Black text has a contrast ratio of 8.79:1 and white text 2.39:1. WCAG asks for at least 4.5:1 for normal text.