#A8A17F color
The hex color #A8A17F is a grayish yellow.
In the RGB color model it is made of 65.9% red, 63.1% green and 49.8% blue (168, 161, 127).
Its hue angle is 50°, with 19% saturation and 58% lightness. For print, the CMYK equivalent is 0% cyan, 4% magenta, 24% yellow and 34% black.
The closest named color is A Frond in Need (#9F9978), a difference of 2.6 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 8.07:1).
#A8A17F color codes
| HEX | #A8A17F | |
|---|---|---|
| RGB | rgb(168, 161, 127) | |
| RGB percent | rgb(65.9%, 63.1%, 49.8%) | |
| HSL | hsl(50, 19%, 58%) | |
| HSV / HSB | hsv(50, 24%, 66%) | |
| CMYK | cmyk(0%, 4%, 24%, 34%) | |
| CIE LAB | lab(66.02, -3.09, 18.66) | |
| CIE LCH | lch(66.02, 18.91, 99.4) | |
| CIE XYZ | xyz(32.724, 35.347, 25.173) | |
| Decimal | 11051391 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A8A17F, 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 #A8A17F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.07:1 | Pass | Pass | Pass |
| Sample text | 2.6:1 | Fail | Fail | Fail |
| #A8A17F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.6:1 | Fail | Fail | Fail |
| Sample text | 8.07: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 #A8A17F looks to people with the most common types of color vision deficiency.
#a89f7dProtanopia
no red cones#aaa280Deuteranopia
no green cones#af9c98Tritanopia
no blue cones#a0a0a0Achromatopsia
no color vision
CSS examples
.background { background-color: #a8a17f; }
.text { color: #a8a17f; }
.border { border: 2px solid #a8a17f; }
.transparent { background-color: rgb(168 161 127 / 50%); }
.gradient { background: linear-gradient(to right, #a8a17f, #9ba87f); }
Similar colors
#9f9978A Frond in Need#aba77cOlive Tree#9e9e7cBonsai Garden#a79b7eMohalla#9f9b84Knock on Wood#b0a676Windy Meadow#9d9880Pebble#b1a979Bamboo Forest
Closest common color name: Sage.
Questions
- What color is #A8A17F?
- #A8A17F is a grayish yellow, closest to the named color A Frond in Need. It belongs to the brown family of colors.
- What is the RGB value of #A8A17F?
- The RGB value is 168, 161, 127: 168 red, 161 green and 127 blue on a 0 to 255 scale.
- What is the complementary color of #A8A17F?
- The complementary color is #7F86A8, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A8A17F?
- Black text. Black text has a contrast ratio of 8.07:1 and white text 2.6:1. WCAG asks for at least 4.5:1 for normal text.