#A8A58A color
The hex color #A8A58A is a grayish yellow.
In the RGB color model it is made of 65.9% red, 64.7% green and 54.1% blue (168, 165, 138).
Its hue angle is 54°, with 15% saturation and 60% lightness. For print, the CMYK equivalent is 0% cyan, 2% magenta, 18% yellow and 34% black.
The closest named color is Knock on Wood (#9F9B84), a difference of 3.3 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 8.41:1).
#A8A58A color codes
| HEX | #A8A58A | |
|---|---|---|
| RGB | rgb(168, 165, 138) | |
| RGB percent | rgb(65.9%, 64.7%, 54.1%) | |
| HSL | hsl(54, 15%, 60%) | |
| HSV / HSB | hsv(54, 18%, 66%) | |
| CMYK | cmyk(0%, 2%, 18%, 34%) | |
| CIE LAB | lab(67.33, -3.58, 14.41) | |
| CIE LCH | lch(67.33, 14.85, 103.96) | |
| CIE XYZ | xyz(34.191, 37.07, 29.394) | |
| Decimal | 11052426 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A8A58A, 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 #A8A58A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.41:1 | Pass | Pass | Pass |
| Sample text | 2.5:1 | Fail | Fail | Fail |
| #A8A58A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.5:1 | Fail | Fail | Fail |
| Sample text | 8.41: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 #A8A58A looks to people with the most common types of color vision deficiency.
#aaa388Protanopia
no red cones#aba58bDeuteranopia
no green cones#ada19dTritanopia
no blue cones#a4a4a4Achromatopsia
no color vision
CSS examples
.background { background-color: #a8a58a; }
.text { color: #a8a58a; }
.border { border: 2px solid #a8a58a; }
.transparent { background-color: rgb(168 165 138 / 50%); }
.gradient { background: linear-gradient(to right, #a8a58a, #9ca88a); }
Similar colors
#9f9b84Knock on Wood#aaad94Quiet Thicket#9e9e7cBonsai Garden#aaaa99Humble Hippo#9d9880Pebble#9a9e80Fennelly#9f9978A Frond in Need#9ca389Edamame
Closest common color name: Sage.
Questions
- What color is #A8A58A?
- #A8A58A is a grayish yellow, closest to the named color Knock on Wood. It belongs to the yellow family of colors.
- What is the RGB value of #A8A58A?
- The RGB value is 168, 165, 138: 168 red, 165 green and 138 blue on a 0 to 255 scale.
- What is the complementary color of #A8A58A?
- The complementary color is #8A8DA8, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A8A58A?
- Black text. Black text has a contrast ratio of 8.41:1 and white text 2.5:1. WCAG asks for at least 4.5:1 for normal text.