#AFA161 color
The hex color #AFA161 is a desaturated yellow.
In the RGB color model it is made of 68.6% red, 63.1% green and 38% blue (175, 161, 97).
Its hue angle is 49°, with 33% saturation and 53% lightness. For print, the CMYK equivalent is 0% cyan, 8% magenta, 45% yellow and 31% black.
The closest named color is Kathmandu (#AD9A5D), a difference of 2.6 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 8.09:1).
#AFA161 color codes
| HEX | #AFA161 | |
|---|---|---|
| RGB | rgb(175, 161, 97) | |
| RGB percent | rgb(68.6%, 63.1%, 38%) | |
| HSL | hsl(49, 33%, 53%) | |
| HSV / HSB | hsv(49, 45%, 69%) | |
| CMYK | cmyk(0%, 8%, 45%, 31%) | |
| CIE LAB | lab(66.11, -3.99, 35.08) | |
| CIE LCH | lch(66.11, 35.31, 96.5) | |
| CIE XYZ | xyz(32.583, 35.468, 16.437) | |
| Decimal | 11510113 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AFA161, 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 #AFA161 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.09:1 | Pass | Pass | Pass |
| Sample text | 2.59:1 | Fail | Fail | Fail |
| #AFA161 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.59:1 | Fail | Fail | Fail |
| Sample text | 8.09: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 #AFA161 looks to people with the most common types of color vision deficiency.
#ad9e5cProtanopia
no red cones#b1a363Deuteranopia
no green cones#ba9891Tritanopia
no blue cones#a1a1a1Achromatopsia
no color vision
CSS examples
.background { background-color: #afa161; }
.text { color: #afa161; }
.border { border: 2px solid #afa161; }
.transparent { background-color: rgb(175 161 97 / 50%); }
.gradient { background: linear-gradient(to right, #afa161, #96af61); }
Similar colors
#ad9a5dKathmandu#a79954Gremlin#a69a51Formosan Green#b0a676Windy Meadow#a09f5bGarden of Earthly Delights#a9a450Desert Locust#b1a979Bamboo Forest#a19250Backroom Ember
Closest common color name: Ecru.
Questions
- What color is #AFA161?
- #AFA161 is a desaturated yellow, closest to the named color Kathmandu. It belongs to the brown family of colors.
- What is the RGB value of #AFA161?
- The RGB value is 175, 161, 97: 175 red, 161 green and 97 blue on a 0 to 255 scale.
- What is the complementary color of #AFA161?
- The complementary color is #616FAF, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AFA161?
- Black text. Black text has a contrast ratio of 8.09:1 and white text 2.59:1. WCAG asks for at least 4.5:1 for normal text.