#A7A17C color
The hex color #A7A17C is a grayish yellow.
In the RGB color model it is made of 65.5% red, 63.1% green and 48.6% blue (167, 161, 124).
Its hue angle is 52°, with 20% saturation and 57% lightness. For print, the CMYK equivalent is 0% cyan, 4% magenta, 26% yellow and 35% black.
The closest named color is Olive Tree (#ABA77C), a difference of 2.4 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 8.03:1).
#A7A17C color codes
| HEX | #A7A17C | |
|---|---|---|
| RGB | rgb(167, 161, 124) | |
| RGB percent | rgb(65.5%, 63.1%, 48.6%) | |
| HSL | hsl(52, 20%, 57%) | |
| HSV / HSB | hsv(52, 26%, 65%) | |
| CMYK | cmyk(0%, 4%, 26%, 35%) | |
| CIE LAB | lab(65.87, -3.92, 20.1) | |
| CIE LCH | lch(65.87, 20.48, 101.02) | |
| CIE XYZ | xyz(32.319, 35.161, 24.149) | |
| Decimal | 10985852 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A7A17C, 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 #A7A17C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.03:1 | Pass | Pass | Pass |
| Sample text | 2.61:1 | Fail | Fail | Fail |
| #A7A17C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.61:1 | Fail | Fail | Fail |
| Sample text | 8.03: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 #A7A17C looks to people with the most common types of color vision deficiency.
#a89f7aProtanopia
no red cones#aaa17dDeuteranopia
no green cones#ae9c97Tritanopia
no blue cones#a0a0a0Achromatopsia
no color vision
CSS examples
.background { background-color: #a7a17c; }
.text { color: #a7a17c; }
.border { border: 2px solid #a7a17c; }
.transparent { background-color: rgb(167 161 124 / 50%); }
.gradient { background: linear-gradient(to right, #a7a17c, #98a77c); }
Similar colors
#aba77cOlive Tree#9f9978A Frond in Need#9e9e7cBonsai Garden#b0a676Windy Meadow#b1a979Bamboo Forest#a79b7eMohalla#9f9b84Knock on Wood#aaaa77Cardamom
Closest common color name: Sage.
Questions
- What color is #A7A17C?
- #A7A17C is a grayish yellow, closest to the named color Olive Tree. It belongs to the yellow family of colors.
- What is the RGB value of #A7A17C?
- The RGB value is 167, 161, 124: 167 red, 161 green and 124 blue on a 0 to 255 scale.
- What is the complementary color of #A7A17C?
- The complementary color is #7C82A7, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A7A17C?
- Black text. Black text has a contrast ratio of 8.03:1 and white text 2.61:1. WCAG asks for at least 4.5:1 for normal text.