#AFA687 color
The hex color #AFA687 is a grayish yellow.
In the RGB color model it is made of 68.6% red, 65.1% green and 52.9% blue (175, 166, 135).
Its hue angle is 47°, with 20% saturation and 61% lightness. For print, the CMYK equivalent is 0% cyan, 5% magenta, 23% yellow and 31% black.
The closest named color is Mohalla (#A79B7E), a difference of 3.6 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 8.63:1).
#AFA687 color codes
| HEX | #AFA687 | |
|---|---|---|
| RGB | rgb(175, 166, 135) | |
| RGB percent | rgb(68.6%, 65.1%, 52.9%) | |
| HSL | hsl(47, 20%, 61%) | |
| HSV / HSB | hsv(47, 23%, 69%) | |
| CMYK | cmyk(0%, 5%, 23%, 31%) | |
| CIE LAB | lab(68.12, -1.87, 17.25) | |
| CIE LCH | lch(68.12, 17.35, 96.2) | |
| CIE XYZ | xyz(35.689, 38.136, 28.398) | |
| Decimal | 11511431 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AFA687, 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 #AFA687 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.63:1 | Pass | Pass | Pass |
| Sample text | 2.43:1 | Fail | Fail | Fail |
| #AFA687 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.43:1 | Fail | Fail | Fail |
| Sample text | 8.63: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 #AFA687 looks to people with the most common types of color vision deficiency.
#ada485Protanopia
no red cones#afa788Deuteranopia
no green cones#b6a19dTritanopia
no blue cones#a6a6a6Achromatopsia
no color vision
CSS examples
.background { background-color: #afa687; }
.text { color: #afa687; }
.border { border: 2px solid #afa687; }
.transparent { background-color: rgb(175 166 135 / 50%); }
.gradient { background: linear-gradient(to right, #afa687, #a4af87); }
Similar colors
#a79b7eMohalla#bbaa88Bangalore#aba77cOlive Tree#9f9978A Frond in Need#aca28fSage the Day#9f9b84Knock on Wood#b0a676Windy Meadow#bfac86Faded Letter
Closest common color name: Khaki.
Questions
- What color is #AFA687?
- #AFA687 is a grayish yellow, closest to the named color Mohalla. It belongs to the brown family of colors.
- What is the RGB value of #AFA687?
- The RGB value is 175, 166, 135: 175 red, 166 green and 135 blue on a 0 to 255 scale.
- What is the complementary color of #AFA687?
- The complementary color is #8790AF, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AFA687?
- Black text. Black text has a contrast ratio of 8.63:1 and white text 2.43:1. WCAG asks for at least 4.5:1 for normal text.