#A8A877 color
The hex color #A8A877 is a grayish yellow.
In the RGB color model it is made of 65.9% red, 65.9% green and 46.7% blue (168, 168, 119).
Its hue angle is 60°, with 22% saturation and 56% lightness. For print, the CMYK equivalent is 0% cyan, 0% magenta, 29% yellow and 34% black.
The closest named color is Cardamom (#AAAA77), a difference of 0.7 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 8.53:1).
#A8A877 color codes
| HEX | #A8A877 | |
|---|---|---|
| RGB | rgb(168, 168, 119) | |
| RGB percent | rgb(65.9%, 65.9%, 46.7%) | |
| HSL | hsl(60, 22%, 56%) | |
| HSV / HSB | hsv(60, 29%, 66%) | |
| CMYK | cmyk(0%, 0%, 29%, 34%) | |
| CIE LAB | lab(67.77, -7.96, 25.4) | |
| CIE LCH | lch(67.77, 26.62, 107.4) | |
| CIE XYZ | xyz(33.481, 37.663, 22.955) | |
| Decimal | 11053175 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A8A877, 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 #A8A877 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.53:1 | Pass | Pass | Pass |
| Sample text | 2.46:1 | Fail | Fail | Fail |
| #A8A877 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.46:1 | Fail | Fail | Fail |
| Sample text | 8.53: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 #A8A877 looks to people with the most common types of color vision deficiency.
#b0a474Protanopia
no red cones#b1a679Deuteranopia
no green cones#afa29bTritanopia
no blue cones#a5a5a5Achromatopsia
no color vision
CSS examples
.background { background-color: #a8a877; }
.text { color: #a8a877; }
.border { border: 2px solid #a8a877; }
.transparent { background-color: rgb(168 168 119 / 50%); }
.gradient { background: linear-gradient(to right, #a8a877, #90a877); }
Similar colors
#aaaa77Cardamom#aba77cOlive Tree#a1a46dWillow Leaf#b1a979Bamboo Forest#b0a676Windy Meadow#a5af76Estragon#9aa77cForester#9e9e7cBonsai Garden
Closest common color name: Sage.
Questions
- What color is #A8A877?
- #A8A877 is a grayish yellow, closest to the named color Cardamom. It belongs to the yellow family of colors.
- What is the RGB value of #A8A877?
- The RGB value is 168, 168, 119: 168 red, 168 green and 119 blue on a 0 to 255 scale.
- What is the complementary color of #A8A877?
- The complementary color is #7777A8, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A8A877?
- Black text. Black text has a contrast ratio of 8.53:1 and white text 2.46:1. WCAG asks for at least 4.5:1 for normal text.