#AFA798 color
The hex color #AFA798 is a light, grayish orange.
In the RGB color model it is made of 68.6% red, 65.5% green and 59.6% blue (175, 167, 152).
Its hue angle is 39°, with 13% saturation and 64% lightness. For print, the CMYK equivalent is 0% cyan, 5% magenta, 13% yellow and 31% black.
The closest named color is Forgotten Sandstone (#AFA696), a difference of 0.6 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 8.8:1).
#AFA798 color codes
| HEX | #AFA798 | |
|---|---|---|
| RGB | rgb(175, 167, 152) | |
| RGB percent | rgb(68.6%, 65.5%, 59.6%) | |
| HSL | hsl(39, 13%, 64%) | |
| HSV / HSB | hsv(39, 13%, 69%) | |
| CMYK | cmyk(0%, 5%, 13%, 31%) | |
| CIE LAB | lab(68.76, 0.26, 8.79) | |
| CIE LCH | lch(68.76, 8.79, 88.32) | |
| CIE XYZ | xyz(37.165, 39.019, 35.273) | |
| Decimal | 11511704 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AFA798, 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 #AFA798 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.8:1 | Pass | Pass | Pass |
| Sample text | 2.39:1 | Fail | Fail | Fail |
| #AFA798 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.39:1 | Fail | Fail | Fail |
| Sample text | 8.8: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 #AFA798 looks to people with the most common types of color vision deficiency.
#aba797Protanopia
no red cones#ada998Deuteranopia
no green cones#b3a4a3Tritanopia
no blue cones#a8a8a8Achromatopsia
no color vision
CSS examples
.background { background-color: #afa798; }
.text { color: #afa798; }
.border { border: 2px solid #afa798; }
.transparent { background-color: rgb(175 167 152 / 50%); }
.gradient { background: linear-gradient(to right, #afa798, #abaf98); }
Similar colors
#afa696Forgotten Sandstone#b5ab9cDesert Dune#aca28fSage the Day#b2aca2Greige#b8b1a5Silver Lining#bbb3a2Ashes to Ashes#aba9a0Windless Morning#aaaa99Humble Hippo
Questions
- What color is #AFA798?
- #AFA798 is a light, grayish orange, closest to the named color Forgotten Sandstone. It belongs to the gray family of colors.
- What is the RGB value of #AFA798?
- The RGB value is 175, 167, 152: 175 red, 167 green and 152 blue on a 0 to 255 scale.
- What is the complementary color of #AFA798?
- The complementary color is #98A0AF, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AFA798?
- Black text. Black text has a contrast ratio of 8.8:1 and white text 2.39:1. WCAG asks for at least 4.5:1 for normal text.