#AFA888 color
The hex color #AFA888 is a grayish yellow.
In the RGB color model it is made of 68.6% red, 65.9% green and 53.3% blue (175, 168, 136).
Its hue angle is 49°, with 20% saturation and 61% lightness. For print, the CMYK equivalent is 0% cyan, 4% magenta, 22% yellow and 31% black.
The closest named color is Olive Tree (#ABA77C), a difference of 3.6 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 8.78:1).
#AFA888 color codes
| HEX | #AFA888 | |
|---|---|---|
| RGB | rgb(175, 168, 136) | |
| RGB percent | rgb(68.6%, 65.9%, 53.3%) | |
| HSL | hsl(49, 20%, 61%) | |
| HSV / HSB | hsv(49, 22%, 69%) | |
| CMYK | cmyk(0%, 4%, 22%, 31%) | |
| CIE LAB | lab(68.68, -2.8, 17.47) | |
| CIE LCH | lch(68.68, 17.7, 99.11) | |
| CIE XYZ | xyz(36.126, 38.897, 28.893) | |
| Decimal | 11511944 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AFA888, 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 #AFA888 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.78:1 | Pass | Pass | Pass |
| Sample text | 2.39:1 | Fail | Fail | Fail |
| #AFA888 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.39:1 | Fail | Fail | Fail |
| Sample text | 8.78: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 #AFA888 looks to people with the most common types of color vision deficiency.
#afa686Protanopia
no red cones#b1a989Deuteranopia
no green cones#b5a39fTritanopia
no blue cones#a7a7a7Achromatopsia
no color vision
CSS examples
.background { background-color: #afa888; }
.text { color: #afa888; }
.border { border: 2px solid #afa888; }
.transparent { background-color: rgb(175 168 136 / 50%); }
.gradient { background: linear-gradient(to right, #afa888, #a3af88); }
Similar colors
#aba77cOlive Tree#b1a979Bamboo Forest#b0a676Windy Meadow#bbaa88Bangalore#a79b7eMohalla#9f9978A Frond in Need#9e9e7cBonsai Garden#aaad94Quiet Thicket
Closest common color name: Sage.
Questions
- What color is #AFA888?
- #AFA888 is a grayish yellow, closest to the named color Olive Tree. It belongs to the brown family of colors.
- What is the RGB value of #AFA888?
- The RGB value is 175, 168, 136: 175 red, 168 green and 136 blue on a 0 to 255 scale.
- What is the complementary color of #AFA888?
- The complementary color is #888FAF, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AFA888?
- Black text. Black text has a contrast ratio of 8.78:1 and white text 2.39:1. WCAG asks for at least 4.5:1 for normal text.