#A8A28B color
The hex color #A8A28B is a grayish yellow.
In the RGB color model it is made of 65.9% red, 63.5% green and 54.5% blue (168, 162, 139).
Its hue angle is 48°, with 14% saturation and 60% lightness. For print, the CMYK equivalent is 0% cyan, 4% magenta, 17% yellow and 34% black.
The closest named color is Knock on Wood (#9F9B84), a difference of 2.5 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 8.21:1).
#A8A28B color codes
| HEX | #A8A28B | |
|---|---|---|
| RGB | rgb(168, 162, 139) | |
| RGB percent | rgb(65.9%, 63.5%, 54.5%) | |
| HSL | hsl(48, 14%, 60%) | |
| HSV / HSB | hsv(48, 17%, 66%) | |
| CMYK | cmyk(0%, 4%, 17%, 34%) | |
| CIE LAB | lab(66.54, -1.8, 12.76) | |
| CIE LCH | lch(66.54, 12.88, 98.03) | |
| CIE XYZ | xyz(33.729, 36.03, 29.599) | |
| Decimal | 11051659 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A8A28B, 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 #A8A28B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.21:1 | Pass | Pass | Pass |
| Sample text | 2.56:1 | Fail | Fail | Fail |
| #A8A28B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.56:1 | Fail | Fail | Fail |
| Sample text | 8.21: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 #A8A28B looks to people with the most common types of color vision deficiency.
#a7a18aProtanopia
no red cones#a9a38cDeuteranopia
no green cones#ad9e9cTritanopia
no blue cones#a2a2a2Achromatopsia
no color vision
CSS examples
.background { background-color: #a8a28b; }
.text { color: #a8a28b; }
.border { border: 2px solid #a8a28b; }
.transparent { background-color: rgb(168 162 139 / 50%); }
.gradient { background: linear-gradient(to right, #a8a28b, #a0a88b); }
Similar colors
#9f9b84Knock on Wood#aca28fSage the Day#9d9880Pebble#a19986Nomad#a79b7eMohalla#afa696Forgotten Sandstone#aaaa99Humble Hippo#999a86Lemongrass
Closest common color name: Greige.
Questions
- What color is #A8A28B?
- #A8A28B 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 #A8A28B?
- The RGB value is 168, 162, 139: 168 red, 162 green and 139 blue on a 0 to 255 scale.
- What is the complementary color of #A8A28B?
- The complementary color is #8B91A8, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A8A28B?
- Black text. Black text has a contrast ratio of 8.21:1 and white text 2.56:1. WCAG asks for at least 4.5:1 for normal text.