#AFB8A2 color
The hex color #AFB8A2 is a light, grayish yellow-green.
In the RGB color model it is made of 68.6% red, 72.2% green and 63.5% blue (175, 184, 162).
Its hue angle is 85°, with 13% saturation and 68% lightness. For print, the CMYK equivalent is 5% cyan, 0% magenta, 12% yellow and 28% black.
The closest named color is Gargoyle (#ABB39E), a difference of 1.4 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 10.2:1).
#AFB8A2 color codes
| HEX | #AFB8A2 | |
|---|---|---|
| RGB | rgb(175, 184, 162) | |
| RGB percent | rgb(68.6%, 72.2%, 63.5%) | |
| HSL | hsl(85, 13%, 68%) | |
| HSV / HSB | hsv(85, 12%, 72%) | |
| CMYK | cmyk(5%, 0%, 12%, 28%) | |
| CIE LAB | lab(73.55, -7.15, 10.11) | |
| CIE LCH | lch(73.55, 12.38, 125.25) | |
| CIE XYZ | xyz(41.34, 46.004, 40.877) | |
| Decimal | 11516066 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AFB8A2, 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 #AFB8A2 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.2:1 | Pass | Pass | Pass |
| Sample text | 2.06:1 | Fail | Fail | Fail |
| #AFB8A2 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.06:1 | Fail | Fail | Fail |
| Sample text | 10.2: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 #AFB8A2 looks to people with the most common types of color vision deficiency.
#bbb5a1Protanopia
no red cones#b9b5a3Deuteranopia
no green cones#b0b6b2Tritanopia
no blue cones#b5b5b5Achromatopsia
no color vision
CSS examples
.background { background-color: #afb8a2; }
.text { color: #afb8a2; }
.border { border: 2px solid #afb8a2; }
.transparent { background-color: rgb(175 184 162 / 50%); }
.gradient { background: linear-gradient(to right, #afb8a2, #a4b8a2); }
Similar colors
#abb39eGargoyle#a8b59eSalvia#aebea6Meadow Morn#aaad94Quiet Thicket#b5c0b3Irish Moor#b4c2a2Camping Grounds#a6ab9bMoorland#a9b4a9Alpine Air
Closest common color name: Ash Gray.
Questions
- What color is #AFB8A2?
- #AFB8A2 is a light, grayish yellow-green, closest to the named color Gargoyle. It belongs to the gray family of colors.
- What is the RGB value of #AFB8A2?
- The RGB value is 175, 184, 162: 175 red, 184 green and 162 blue on a 0 to 255 scale.
- What is the complementary color of #AFB8A2?
- The complementary color is #ABA2B8, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AFB8A2?
- Black text. Black text has a contrast ratio of 10.2:1 and white text 2.06:1. WCAG asks for at least 4.5:1 for normal text.