#A5A6A6 color
The hex color #A5A6A6 is a gray.
In the RGB color model it is made of 64.7% red, 65.1% green and 65.1% blue (165, 166, 166).
Its hue angle is 180°, with 1% saturation and 65% lightness. For print, the CMYK equivalent is 1% cyan, 0% magenta, 0% yellow and 35% black.
The closest named color is Quicksilver (#A6A6A6), a difference of 0.5 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 8.6:1).
#A5A6A6 color codes
| HEX | #A5A6A6 | |
|---|---|---|
| RGB | rgb(165, 166, 166) | |
| RGB percent | rgb(64.7%, 65.1%, 65.1%) | |
| HSL | hsl(180, 1%, 65%) | |
| HSV / HSB | hsv(180, 1%, 65%) | |
| CMYK | cmyk(1%, 0%, 0%, 35%) | |
| CIE LAB | lab(68.04, -0.36, -0.13) | |
| CIE LCH | lch(68.04, 0.38, 199.38) | |
| CIE XYZ | xyz(36.035, 38.025, 41.51) | |
| Decimal | 10856102 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A5A6A6, 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 #A5A6A6 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.6:1 | Pass | Pass | Pass |
| Sample text | 2.44:1 | Fail | Fail | Fail |
| #A5A6A6 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.44:1 | Fail | Fail | Fail |
| Sample text | 8.6: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 #A5A6A6 looks to people with the most common types of color vision deficiency.
#a6a6a6Protanopia
no red cones#a6a6a6Deuteranopia
no green cones#a5a6a6Tritanopia
no blue cones#a6a6a6Achromatopsia
no color vision
CSS examples
.background { background-color: #a5a6a6; }
.text { color: #a5a6a6; }
.border { border: 2px solid #a5a6a6; }
.transparent { background-color: rgb(165 166 166 / 50%); }
.gradient { background: linear-gradient(to right, #a5a6a6, #a5a6a6); }
Similar colors
#a6a6a6Quicksilver#a7a7a7Moon Landing#a8a9a8Elephant in the Room#a9a9a9Dark Gray#a3a2a1Shadow of the Colossus#a9a8a9Ultimate Gray#acaaa7Cathedral#9ea4a5Statuary
Questions
- What color is #A5A6A6?
- #A5A6A6 is a gray, closest to the named color Quicksilver. It belongs to the gray family of colors.
- What is the RGB value of #A5A6A6?
- The RGB value is 165, 166, 166: 165 red, 166 green and 166 blue on a 0 to 255 scale.
- What is the complementary color of #A5A6A6?
- The complementary color is #A6A5A5, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A5A6A6?
- Black text. Black text has a contrast ratio of 8.6:1 and white text 2.44:1. WCAG asks for at least 4.5:1 for normal text.