#AFA66A color
The hex color #AFA66A is a desaturated yellow.
In the RGB color model it is made of 68.6% red, 65.1% green and 41.6% blue (175, 166, 106).
Its hue angle is 52°, with 30% saturation and 55% lightness. For print, the CMYK equivalent is 0% cyan, 5% magenta, 39% yellow and 31% black.
The closest named color is Windy Meadow (#B0A676), a difference of 2.8 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 8.49:1).
#AFA66A color codes
| HEX | #AFA66A | |
|---|---|---|
| RGB | rgb(175, 166, 106) | |
| RGB percent | rgb(68.6%, 65.1%, 41.6%) | |
| HSL | hsl(52, 30%, 55%) | |
| HSV / HSB | hsv(52, 39%, 69%) | |
| CMYK | cmyk(0%, 5%, 39%, 31%) | |
| CIE LAB | lab(67.6, -5.68, 32.23) | |
| CIE LCH | lch(67.6, 32.73, 100) | |
| CIE XYZ | xyz(33.918, 37.428, 19.071) | |
| Decimal | 11511402 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AFA66A, 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 #AFA66A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.49:1 | Pass | Pass | Pass |
| Sample text | 2.47:1 | Fail | Fail | Fail |
| #AFA66A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.47:1 | Fail | Fail | Fail |
| Sample text | 8.49: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 #AFA66A looks to people with the most common types of color vision deficiency.
#b1a266Protanopia
no red cones#b3a66cDeuteranopia
no green cones#b99e97Tritanopia
no blue cones#a5a5a5Achromatopsia
no color vision
CSS examples
.background { background-color: #afa66a; }
.text { color: #afa66a; }
.border { border: 2px solid #afa66a; }
.transparent { background-color: rgb(175 166 106 / 50%); }
.gradient { background: linear-gradient(to right, #afa66a, #96af6a); }
Similar colors
#b0a676Windy Meadow#b1a979Bamboo Forest#aaaa77Cardamom#a09f5bGarden of Earthly Delights#a1a46dWillow Leaf#aba77cOlive Tree#bbac7dNettle#ad9a5dKathmandu
Closest common color name: Ecru.
Questions
- What color is #AFA66A?
- #AFA66A is a desaturated yellow, closest to the named color Windy Meadow. It belongs to the yellow family of colors.
- What is the RGB value of #AFA66A?
- The RGB value is 175, 166, 106: 175 red, 166 green and 106 blue on a 0 to 255 scale.
- What is the complementary color of #AFA66A?
- The complementary color is #6A73AF, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AFA66A?
- Black text. Black text has a contrast ratio of 8.49:1 and white text 2.47:1. WCAG asks for at least 4.5:1 for normal text.