#AFB2A2 color
The hex color #AFB2A2 is a light, grayish yellow-green.
In the RGB color model it is made of 68.6% red, 69.8% green and 63.5% blue (175, 178, 162).
Its hue angle is 71°, with 9% saturation and 67% lightness. For print, the CMYK equivalent is 2% cyan, 0% magenta, 9% yellow and 30% black.
The closest named color is Moorland (#A6AB9B), a difference of 2.3 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 9.71:1).
#AFB2A2 color codes
| HEX | #AFB2A2 | |
|---|---|---|
| RGB | rgb(175, 178, 162) | |
| RGB percent | rgb(68.6%, 69.8%, 63.5%) | |
| HSL | hsl(71, 9%, 67%) | |
| HSV / HSB | hsv(71, 9%, 70%) | |
| CMYK | cmyk(2%, 0%, 9%, 30%) | |
| CIE LAB | lab(71.94, -3.96, 7.81) | |
| CIE LCH | lch(71.94, 8.76, 116.9) | |
| CIE XYZ | xyz(40.12, 43.563, 40.47) | |
| Decimal | 11514530 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AFB2A2, 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 #AFB2A2 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.71:1 | Pass | Pass | Pass |
| Sample text | 2.16:1 | Fail | Fail | Fail |
| #AFB2A2 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.16:1 | Fail | Fail | Fail |
| Sample text | 9.71: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 #AFB2A2 looks to people with the most common types of color vision deficiency.
#b5b0a1Protanopia
no red cones#b4b0a3Deuteranopia
no green cones#b1b0adTritanopia
no blue cones#b0b0b0Achromatopsia
no color vision
CSS examples
.background { background-color: #afb2a2; }
.text { color: #afb2a2; }
.border { border: 2px solid #afb2a2; }
.transparent { background-color: rgb(175 178 162 / 50%); }
.gradient { background: linear-gradient(to right, #afb2a2, #a7b2a2); }
Similar colors
#a6ab9bMoorland#aaaa99Humble Hippo#abb39eGargoyle#aaad94Quiet Thicket#a9b4a9Alpine Air#bab8adZen Pebble#bebaa7Ash#b2b5afMagnetic
Closest common color name: Ash Gray.
Questions
- What color is #AFB2A2?
- #AFB2A2 is a light, grayish yellow-green, closest to the named color Moorland. It belongs to the gray family of colors.
- What is the RGB value of #AFB2A2?
- The RGB value is 175, 178, 162: 175 red, 178 green and 162 blue on a 0 to 255 scale.
- What is the complementary color of #AFB2A2?
- The complementary color is #A5A2B2, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AFB2A2?
- Black text. Black text has a contrast ratio of 9.71:1 and white text 2.16:1. WCAG asks for at least 4.5:1 for normal text.