#A6A28B color
The hex color #A6A28B is a grayish yellow.
In the RGB color model it is made of 65.1% red, 63.5% green and 54.5% blue (166, 162, 139).
Its hue angle is 51°, with 13% saturation and 60% lightness. For print, the CMYK equivalent is 0% cyan, 2% magenta, 16% yellow and 35% black.
The closest named color is Knock on Wood (#9F9B84), a difference of 2.2 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 8.16:1).
#A6A28B color codes
| HEX | #A6A28B | |
|---|---|---|
| RGB | rgb(166, 162, 139) | |
| RGB percent | rgb(65.1%, 63.5%, 54.5%) | |
| HSL | hsl(51, 13%, 60%) | |
| HSV / HSB | hsv(51, 16%, 65%) | |
| CMYK | cmyk(0%, 2%, 16%, 35%) | |
| CIE LAB | lab(66.38, -2.56, 12.5) | |
| CIE LCH | lch(66.38, 12.76, 101.6) | |
| CIE XYZ | xyz(33.306, 35.812, 29.579) | |
| Decimal | 10920587 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A6A28B, 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 #A6A28B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.16:1 | Pass | Pass | Pass |
| Sample text | 2.57:1 | Fail | Fail | Fail |
| #A6A28B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.57:1 | Fail | Fail | Fail |
| Sample text | 8.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 #A6A28B looks to people with the most common types of color vision deficiency.
#a7a08aProtanopia
no red cones#a8a28cDeuteranopia
no green cones#ab9f9bTritanopia
no blue cones#a1a1a1Achromatopsia
no color vision
CSS examples
.background { background-color: #a6a28b; }
.text { color: #a6a28b; }
.border { border: 2px solid #a6a28b; }
.transparent { background-color: rgb(166 162 139 / 50%); }
.gradient { background: linear-gradient(to right, #a6a28b, #9da68b); }
Similar colors
#9f9b84Knock on Wood#9d9880Pebble#aaaa99Humble Hippo#999a86Lemongrass#a19986Nomad#aca28fSage the Day#999988Concrete Jungle#a79b7eMohalla
Closest common color name: Greige.
Questions
- What color is #A6A28B?
- #A6A28B is a grayish yellow, closest to the named color Knock on Wood. It belongs to the gray family of colors.
- What is the RGB value of #A6A28B?
- The RGB value is 166, 162, 139: 166 red, 162 green and 139 blue on a 0 to 255 scale.
- What is the complementary color of #A6A28B?
- The complementary color is #8B8FA6, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A6A28B?
- Black text. Black text has a contrast ratio of 8.16:1 and white text 2.57:1. WCAG asks for at least 4.5:1 for normal text.