#AFAB8F color
The hex color #AFAB8F is a light, grayish yellow.
In the RGB color model it is made of 68.6% red, 67.1% green and 56.1% blue (175, 171, 143).
Its hue angle is 52°, with 17% saturation and 62% lightness. For print, the CMYK equivalent is 0% cyan, 2% magenta, 18% yellow and 31% black.
The closest named color is Quiet Thicket (#AAAD94), a difference of 3.2 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 9.04:1).
#AFAB8F color codes
| HEX | #AFAB8F | |
|---|---|---|
| RGB | rgb(175, 171, 143) | |
| RGB percent | rgb(68.6%, 67.1%, 56.1%) | |
| HSL | hsl(52, 17%, 62%) | |
| HSV / HSB | hsv(52, 18%, 69%) | |
| CMYK | cmyk(0%, 2%, 18%, 31%) | |
| CIE LAB | lab(69.63, -3.35, 14.96) | |
| CIE LCH | lch(69.63, 15.33, 102.62) | |
| CIE XYZ | xyz(37.2, 40.223, 31.786) | |
| Decimal | 11512719 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AFAB8F, 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 #AFAB8F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.04:1 | Pass | Pass | Pass |
| Sample text | 2.32:1 | Fail | Fail | Fail |
| #AFAB8F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.32:1 | Fail | Fail | Fail |
| Sample text | 9.04: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 #AFAB8F looks to people with the most common types of color vision deficiency.
#b1a98dProtanopia
no red cones#b2ab90Deuteranopia
no green cones#b4a7a3Tritanopia
no blue cones#aaaaaaAchromatopsia
no color vision
CSS examples
.background { background-color: #afab8f; }
.text { color: #afab8f; }
.border { border: 2px solid #afab8f; }
.transparent { background-color: rgb(175 171 143 / 50%); }
.gradient { background: linear-gradient(to right, #afab8f, #a3af8f); }
Similar colors
#aaad94Quiet Thicket#aaaa99Humble Hippo#aba77cOlive Tree#b5b68fGreen Tea#9f9b84Knock on Wood#9e9e7cBonsai Garden#bebaa7Ash#c5bda0Lush
Closest common color name: Sage.
Questions
- What color is #AFAB8F?
- #AFAB8F is a light, grayish yellow, closest to the named color Quiet Thicket. It belongs to the yellow family of colors.
- What is the RGB value of #AFAB8F?
- The RGB value is 175, 171, 143: 175 red, 171 green and 143 blue on a 0 to 255 scale.
- What is the complementary color of #AFAB8F?
- The complementary color is #8F93AF, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AFAB8F?
- Black text. Black text has a contrast ratio of 9.04:1 and white text 2.32:1. WCAG asks for at least 4.5:1 for normal text.