#AFAA8C color
The hex color #AFAA8C is a grayish yellow.
In the RGB color model it is made of 68.6% red, 66.7% green and 54.9% blue (175, 170, 140).
Its hue angle is 51°, with 18% saturation and 62% lightness. For print, the CMYK equivalent is 0% cyan, 3% magenta, 20% yellow and 31% black.
The closest named color is Quiet Thicket (#AAAD94), a difference of 3.8 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 8.95:1).
#AFAA8C color codes
| HEX | #AFAA8C | |
|---|---|---|
| RGB | rgb(175, 170, 140) | |
| RGB percent | rgb(68.6%, 66.7%, 54.9%) | |
| HSL | hsl(51, 18%, 62%) | |
| HSV / HSB | hsv(51, 20%, 69%) | |
| CMYK | cmyk(0%, 3%, 20%, 31%) | |
| CIE LAB | lab(69.3, -3.28, 16.14) | |
| CIE LCH | lch(69.3, 16.47, 101.47) | |
| CIE XYZ | xyz(36.787, 39.757, 30.542) | |
| Decimal | 11512460 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AFAA8C, 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 #AFAA8C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.95:1 | Pass | Pass | Pass |
| Sample text | 2.35:1 | Fail | Fail | Fail |
| #AFAA8C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.35:1 | Fail | Fail | Fail |
| Sample text | 8.95: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 #AFAA8C looks to people with the most common types of color vision deficiency.
#b0a88aProtanopia
no red cones#b2aa8dDeuteranopia
no green cones#b5a6a2Tritanopia
no blue cones#a9a9a9Achromatopsia
no color vision
CSS examples
.background { background-color: #afaa8c; }
.text { color: #afaa8c; }
.border { border: 2px solid #afaa8c; }
.transparent { background-color: rgb(175 170 140 / 50%); }
.gradient { background: linear-gradient(to right, #afaa8c, #a3af8c); }
Similar colors
#aaad94Quiet Thicket#aba77cOlive Tree#b5b68fGreen Tea#aaaa99Humble Hippo#9e9e7cBonsai Garden#9f9b84Knock on Wood#bbaa88Bangalore#9f9978A Frond in Need
Closest common color name: Sage.
Questions
- What color is #AFAA8C?
- #AFAA8C is a grayish yellow, closest to the named color Quiet Thicket. It belongs to the yellow family of colors.
- What is the RGB value of #AFAA8C?
- The RGB value is 175, 170, 140: 175 red, 170 green and 140 blue on a 0 to 255 scale.
- What is the complementary color of #AFAA8C?
- The complementary color is #8C91AF, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AFAA8C?
- Black text. Black text has a contrast ratio of 8.95:1 and white text 2.35:1. WCAG asks for at least 4.5:1 for normal text.