#AFA57F color
The hex color #AFA57F is a grayish yellow.
In the RGB color model it is made of 68.6% red, 64.7% green and 49.8% blue (175, 165, 127).
Its hue angle is 48°, with 23% saturation and 59% lightness. For print, the CMYK equivalent is 0% cyan, 6% magenta, 27% yellow and 31% black.
The closest named color is Windy Meadow (#B0A676), a difference of 2.6 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 8.51:1).
#AFA57F color codes
| HEX | #AFA57F | |
|---|---|---|
| RGB | rgb(175, 165, 127) | |
| RGB percent | rgb(68.6%, 64.7%, 49.8%) | |
| HSL | hsl(48, 23%, 59%) | |
| HSV / HSB | hsv(48, 27%, 69%) | |
| CMYK | cmyk(0%, 6%, 27%, 31%) | |
| CIE LAB | lab(67.69, -2.48, 21.05) | |
| CIE LCH | lch(67.69, 21.19, 96.73) | |
| CIE XYZ | xyz(34.965, 37.557, 25.482) | |
| Decimal | 11511167 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AFA57F, 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 #AFA57F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.51:1 | Pass | Pass | Pass |
| Sample text | 2.47:1 | Fail | Fail | Fail |
| #AFA57F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.47:1 | Fail | Fail | Fail |
| Sample text | 8.51: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 #AFA57F looks to people with the most common types of color vision deficiency.
#ada37dProtanopia
no red cones#b0a680Deuteranopia
no green cones#b79f9bTritanopia
no blue cones#a5a5a5Achromatopsia
no color vision
CSS examples
.background { background-color: #afa57f; }
.text { color: #afa57f; }
.border { border: 2px solid #afa57f; }
.transparent { background-color: rgb(175 165 127 / 50%); }
.gradient { background: linear-gradient(to right, #afa57f, #a1af7f); }
Similar colors
#b0a676Windy Meadow#aba77cOlive Tree#b1a979Bamboo Forest#bbac7dNettle#bbaa88Bangalore#a79b7eMohalla#9f9978A Frond in Need#bfac86Faded Letter
Closest common color name: Ecru.
Questions
- What color is #AFA57F?
- #AFA57F is a grayish yellow, closest to the named color Windy Meadow. It belongs to the brown family of colors.
- What is the RGB value of #AFA57F?
- The RGB value is 175, 165, 127: 175 red, 165 green and 127 blue on a 0 to 255 scale.
- What is the complementary color of #AFA57F?
- The complementary color is #7F89AF, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AFA57F?
- Black text. Black text has a contrast ratio of 8.51:1 and white text 2.47:1. WCAG asks for at least 4.5:1 for normal text.