#AFAE84 color
The hex color #AFAE84 is a grayish yellow.
In the RGB color model it is made of 68.6% red, 68.2% green and 51.8% blue (175, 174, 132).
Its hue angle is 59°, with 21% saturation and 60% lightness. For print, the CMYK equivalent is 0% cyan, 1% magenta, 25% yellow and 31% black.
The closest named color is Olive Tree (#ABA77C), a difference of 2.2 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 9.21:1).
#AFAE84 color codes
| HEX | #AFAE84 | |
|---|---|---|
| RGB | rgb(175, 174, 132) | |
| RGB percent | rgb(68.6%, 68.2%, 51.8%) | |
| HSL | hsl(59, 21%, 60%) | |
| HSV / HSB | hsv(59, 25%, 69%) | |
| CMYK | cmyk(0%, 1%, 25%, 31%) | |
| CIE LAB | lab(70.21, -6.59, 21.76) | |
| CIE LCH | lch(70.21, 22.74, 106.85) | |
| CIE XYZ | xyz(36.98, 41.053, 27.801) | |
| Decimal | 11513476 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AFAE84, 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 #AFAE84 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.21:1 | Pass | Pass | Pass |
| Sample text | 2.28:1 | Fail | Fail | Fail |
| #AFAE84 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.28:1 | Fail | Fail | Fail |
| Sample text | 9.21: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 #AFAE84 looks to people with the most common types of color vision deficiency.
#b5ab81Protanopia
no red cones#b6ad86Deuteranopia
no green cones#b5a9a3Tritanopia
no blue cones#acacacAchromatopsia
no color vision
CSS examples
.background { background-color: #afae84; }
.text { color: #afae84; }
.border { border: 2px solid #afae84; }
.transparent { background-color: rgb(175 174 132 / 50%); }
.gradient { background: linear-gradient(to right, #afae84, #9baf84); }
Similar colors
#aba77cOlive Tree#b5b68fGreen Tea#aaaa77Cardamom#b1a979Bamboo Forest#bcb88aSage#b0a676Windy Meadow#a5af76Estragon#a1a46dWillow Leaf
Questions
- What color is #AFAE84?
- #AFAE84 is a grayish yellow, closest to the named color Olive Tree. It belongs to the yellow family of colors.
- What is the RGB value of #AFAE84?
- The RGB value is 175, 174, 132: 175 red, 174 green and 132 blue on a 0 to 255 scale.
- What is the complementary color of #AFAE84?
- The complementary color is #8485AF, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AFAE84?
- Black text. Black text has a contrast ratio of 9.21:1 and white text 2.28:1. WCAG asks for at least 4.5:1 for normal text.