#AFB4AF color
The hex color #AFB4AF is a gray.
In the RGB color model it is made of 68.6% red, 70.6% green and 68.6% blue (175, 180, 175).
Its hue angle is 120°, with 3% saturation and 70% lightness. For print, the CMYK equivalent is 3% cyan, 0% magenta, 3% yellow and 29% black.
The closest named color is Magnetic (#B2B5AF), a difference of 1.1 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 9.97:1).
#AFB4AF color codes
| HEX | #AFB4AF | |
|---|---|---|
| RGB | rgb(175, 180, 175) | |
| RGB percent | rgb(68.6%, 70.6%, 68.6%) | |
| HSL | hsl(120, 3%, 70%) | |
| HSV / HSB | hsv(120, 3%, 71%) | |
| CMYK | cmyk(3%, 0%, 3%, 29%) | |
| CIE LAB | lab(72.79, -2.69, 1.93) | |
| CIE LCH | lch(72.79, 3.31, 144.29) | |
| CIE XYZ | xyz(41.737, 44.851, 47.008) | |
| Decimal | 11515055 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AFB4AF, 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 #AFB4AF | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.97:1 | Pass | Pass | Pass |
| Sample text | 2.11:1 | Fail | Fail | Fail |
| #AFB4AF as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.11:1 | Fail | Fail | Fail |
| Sample text | 9.97: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 #AFB4AF looks to people with the most common types of color vision deficiency.
#b4b3afProtanopia
no red cones#b3b2afDeuteranopia
no green cones#afb4b2Tritanopia
no blue cones#b3b3b3Achromatopsia
no color vision
CSS examples
.background { background-color: #afb4af; }
.text { color: #afb4af; }
.border { border: 2px solid #afb4af; }
.transparent { background-color: rgb(175 180 175 / 50%); }
.gradient { background: linear-gradient(to right, #afb4af, #afb4b2); }
Similar colors
#b2b5afMagnetic#a9afaaPigeon#b7b9b5Greystone#b2b2adSteam Engine#b4b9b9Provence Wind#babfbcMetal#bdc2bbSilky Green#b8b5adBurnt Letters
Closest common color name: Ash Gray.
Questions
- What color is #AFB4AF?
- #AFB4AF is a gray, closest to the named color Magnetic. It belongs to the gray family of colors.
- What is the RGB value of #AFB4AF?
- The RGB value is 175, 180, 175: 175 red, 180 green and 175 blue on a 0 to 255 scale.
- What is the complementary color of #AFB4AF?
- The complementary color is #B4AFB4, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AFB4AF?
- Black text. Black text has a contrast ratio of 9.97:1 and white text 2.11:1. WCAG asks for at least 4.5:1 for normal text.