#A8A178 color
The hex color #A8A178 is a grayish yellow.
In the RGB color model it is made of 65.9% red, 63.1% green and 47.1% blue (168, 161, 120).
Its hue angle is 51°, with 22% saturation and 56% lightness. For print, the CMYK equivalent is 0% cyan, 4% magenta, 29% yellow and 34% black.
The closest named color is Olive Tree (#ABA77C), a difference of 2.1 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 8.03:1).
#A8A178 color codes
| HEX | #A8A178 | |
|---|---|---|
| RGB | rgb(168, 161, 120) | |
| RGB percent | rgb(65.9%, 63.1%, 47.1%) | |
| HSL | hsl(51, 22%, 56%) | |
| HSV / HSB | hsv(51, 29%, 66%) | |
| CMYK | cmyk(0%, 4%, 29%, 34%) | |
| CIE LAB | lab(65.88, -4.08, 22.32) | |
| CIE LCH | lch(65.88, 22.69, 100.36) | |
| CIE XYZ | xyz(32.284, 35.171, 22.854) | |
| Decimal | 11051384 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A8A178, 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 #A8A178 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.03:1 | Pass | Pass | Pass |
| Sample text | 2.61:1 | Fail | Fail | Fail |
| #A8A178 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 #A8A178 looks to people with the most common types of color vision deficiency.
#a99e75Protanopia
no red cones#aba179Deuteranopia
no green cones#af9b96Tritanopia
no blue cones#a0a0a0Achromatopsia
no color vision
CSS examples
.background { background-color: #a8a178; }
.text { color: #a8a178; }
.border { border: 2px solid #a8a178; }
.transparent { background-color: rgb(168 161 120 / 50%); }
.gradient { background: linear-gradient(to right, #a8a178, #97a878); }
Similar colors
#aba77cOlive Tree#b0a676Windy Meadow#b1a979Bamboo Forest#9f9978A Frond in Need#9e9e7cBonsai Garden#aaaa77Cardamom#bbac7dNettle#a79b7eMohalla
Closest common color name: Ecru.
Questions
- What color is #A8A178?
- #A8A178 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 #A8A178?
- The RGB value is 168, 161, 120: 168 red, 161 green and 120 blue on a 0 to 255 scale.
- What is the complementary color of #A8A178?
- The complementary color is #787FA8, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A8A178?
- 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.