#A5A38B color
The hex color #A5A38B is a grayish yellow.
In the RGB color model it is made of 64.7% red, 63.9% green and 54.5% blue (165, 163, 139).
Its hue angle is 55°, with 13% saturation and 60% lightness. For print, the CMYK equivalent is 0% cyan, 1% magenta, 16% yellow and 35% black.
The closest named color is Knock on Wood (#9F9B84), a difference of 2.6 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 8.21:1).
#A5A38B color codes
| HEX | #A5A38B | |
|---|---|---|
| RGB | rgb(165, 163, 139) | |
| RGB percent | rgb(64.7%, 63.9%, 54.5%) | |
| HSL | hsl(55, 13%, 60%) | |
| HSV / HSB | hsv(55, 16%, 65%) | |
| CMYK | cmyk(0%, 1%, 16%, 35%) | |
| CIE LAB | lab(66.56, -3.49, 12.75) | |
| CIE LCH | lch(66.56, 13.22, 105.3) | |
| CIE XYZ | xyz(33.274, 36.058, 29.628) | |
| Decimal | 10855307 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A5A38B, 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 #A5A38B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.21:1 | Pass | Pass | Pass |
| Sample text | 2.56:1 | Fail | Fail | Fail |
| #A5A38B 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 #A5A38B looks to people with the most common types of color vision deficiency.
#a8a18aProtanopia
no red cones#a9a38cDeuteranopia
no green cones#a9a09cTritanopia
no blue cones#a2a2a2Achromatopsia
no color vision
CSS examples
.background { background-color: #a5a38b; }
.text { color: #a5a38b; }
.border { border: 2px solid #a5a38b; }
.transparent { background-color: rgb(165 163 139 / 50%); }
.gradient { background: linear-gradient(to right, #a5a38b, #9aa58b); }
Similar colors
#9f9b84Knock on Wood#aaaa99Humble Hippo#999a86Lemongrass#aaad94Quiet Thicket#9d9880Pebble#9e9e7cBonsai Garden#999988Concrete Jungle#9a9e80Fennelly
Closest common color name: Greige.
Questions
- What color is #A5A38B?
- #A5A38B 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 #A5A38B?
- The RGB value is 165, 163, 139: 165 red, 163 green and 139 blue on a 0 to 255 scale.
- What is the complementary color of #A5A38B?
- The complementary color is #8B8DA5, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A5A38B?
- 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.