#AFB572 color
The hex color #AFB572 is a desaturated yellow.
In the RGB color model it is made of 68.6% red, 71% green and 44.7% blue (175, 181, 114).
Its hue angle is 65°, with 31% saturation and 58% lightness. For print, the CMYK equivalent is 3% cyan, 0% magenta, 37% yellow and 29% black.
The closest named color is Savannah Grass (#BABC72), a difference of 2.7 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 9.68:1).
#AFB572 color codes
| HEX | #AFB572 | |
|---|---|---|
| RGB | rgb(175, 181, 114) | |
| RGB percent | rgb(68.6%, 71%, 44.7%) | |
| HSL | hsl(65, 31%, 58%) | |
| HSV / HSB | hsv(65, 37%, 71%) | |
| CMYK | cmyk(3%, 0%, 37%, 29%) | |
| CIE LAB | lab(71.81, -12.62, 33.46) | |
| CIE LCH | lch(71.81, 35.76, 110.67) | |
| CIE XYZ | xyz(37.241, 43.377, 22.327) | |
| Decimal | 11515250 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AFB572, 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 #AFB572 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.68:1 | Pass | Pass | Pass |
| Sample text | 2.17:1 | Fail | Fail | Fail |
| #AFB572 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.17:1 | Fail | Fail | Fail |
| Sample text | 9.68: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 #AFB572 looks to people with the most common types of color vision deficiency.
#beaf6dProtanopia
no red cones#beb175Deuteranopia
no green cones#b7aea4Tritanopia
no blue cones#b0b0b0Achromatopsia
no color vision
CSS examples
.background { background-color: #afb572; }
.text { color: #afb572; }
.border { border: 2px solid #afb572; }
.transparent { background-color: rgb(175 181 114 / 50%); }
.gradient { background: linear-gradient(to right, #afb572, #8eb572); }
Similar colors
#babc72Savannah Grass#a5af76Estragon#b8bf71Zoodles#afb982Nile#9faf6cMatcha Mecha#afaf5ePalm#a1b670Around the Gills#bec187Kiss a Frog
Closest common color name: Dark Khaki.
Questions
- What color is #AFB572?
- #AFB572 is a desaturated yellow, closest to the named color Savannah Grass. It belongs to the yellow family of colors.
- What is the RGB value of #AFB572?
- The RGB value is 175, 181, 114: 175 red, 181 green and 114 blue on a 0 to 255 scale.
- What is the complementary color of #AFB572?
- The complementary color is #7872B5, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AFB572?
- Black text. Black text has a contrast ratio of 9.68:1 and white text 2.17:1. WCAG asks for at least 4.5:1 for normal text.