#AFA68B color
The hex color #AFA68B is a grayish yellow.
In the RGB color model it is made of 68.6% red, 65.1% green and 54.5% blue (175, 166, 139).
Its hue angle is 45°, with 18% saturation and 62% lightness. For print, the CMYK equivalent is 0% cyan, 5% magenta, 21% yellow and 31% black.
The closest named color is Sage the Day (#ACA28F), a difference of 3.4 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 8.65:1).
#AFA68B color codes
| HEX | #AFA68B | |
|---|---|---|
| RGB | rgb(175, 166, 139) | |
| RGB percent | rgb(68.6%, 65.1%, 54.5%) | |
| HSL | hsl(45, 18%, 62%) | |
| HSV / HSB | hsv(45, 21%, 69%) | |
| CMYK | cmyk(0%, 5%, 21%, 31%) | |
| CIE LAB | lab(68.21, -1.27, 15.17) | |
| CIE LCH | lch(68.21, 15.22, 94.79) | |
| CIE XYZ | xyz(35.976, 38.251, 29.909) | |
| Decimal | 11511435 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AFA68B, 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 #AFA68B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.65:1 | Pass | Pass | Pass |
| Sample text | 2.43:1 | Fail | Fail | Fail |
| #AFA68B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.43:1 | Fail | Fail | Fail |
| Sample text | 8.65: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 #AFA68B looks to people with the most common types of color vision deficiency.
#aca589Protanopia
no red cones#afa78cDeuteranopia
no green cones#b5a29eTritanopia
no blue cones#a6a6a6Achromatopsia
no color vision
CSS examples
.background { background-color: #afa68b; }
.text { color: #afa68b; }
.border { border: 2px solid #afa68b; }
.transparent { background-color: rgb(175 166 139 / 50%); }
.gradient { background: linear-gradient(to right, #afa68b, #a6af8b); }
Similar colors
#aca28fSage the Day#a79b7eMohalla#bbaa88Bangalore#afa696Forgotten Sandstone#9f9b84Knock on Wood#a19986Nomad#9d9880Pebble#9f9978A Frond in Need
Closest common color name: Khaki.
Questions
- What color is #AFA68B?
- #AFA68B is a grayish yellow, closest to the named color Sage the Day. It belongs to the brown family of colors.
- What is the RGB value of #AFA68B?
- The RGB value is 175, 166, 139: 175 red, 166 green and 139 blue on a 0 to 255 scale.
- What is the complementary color of #AFA68B?
- The complementary color is #8B94AF, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AFA68B?
- Black text. Black text has a contrast ratio of 8.65:1 and white text 2.43:1. WCAG asks for at least 4.5:1 for normal text.