#ABAF7B color
The hex color #ABAF7B is a grayish yellow.
In the RGB color model it is made of 67.1% red, 68.6% green and 48.2% blue (171, 175, 123).
Its hue angle is 65°, with 25% saturation and 58% lightness. For print, the CMYK equivalent is 2% cyan, 0% magenta, 30% yellow and 31% black.
The closest named color is Cardamom (#AAAA77), a difference of 1.8 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 9.15:1).
#ABAF7B color codes
| HEX | #ABAF7B | |
|---|---|---|
| RGB | rgb(171, 175, 123) | |
| RGB percent | rgb(67.1%, 68.6%, 48.2%) | |
| HSL | hsl(65, 25%, 58%) | |
| HSV / HSB | hsv(65, 30%, 69%) | |
| CMYK | cmyk(2%, 0%, 30%, 31%) | |
| CIE LAB | lab(70, -9.93, 26.27) | |
| CIE LCH | lch(70, 28.08, 110.71) | |
| CIE XYZ | xyz(35.7, 40.748, 24.72) | |
| Decimal | 11251579 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #ABAF7B, 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 #ABAF7B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.15:1 | Pass | Pass | Pass |
| Sample text | 2.3:1 | Fail | Fail | Fail |
| #ABAF7B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.3:1 | Fail | Fail | Fail |
| Sample text | 9.15: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 #ABAF7B looks to people with the most common types of color vision deficiency.
#b7aa78Protanopia
no red cones#b7ac7dDeuteranopia
no green cones#b2a9a1Tritanopia
no blue cones#abababAchromatopsia
no color vision
CSS examples
.background { background-color: #abaf7b; }
.text { color: #abaf7b; }
.border { border: 2px solid #abaf7b; }
.transparent { background-color: rgb(171 175 123 / 50%); }
.gradient { background: linear-gradient(to right, #abaf7b, #91af7b); }
Similar colors
#aaaa77Cardamom#a5af76Estragon#afb982Nile#a1a46dWillow Leaf#aba77cOlive Tree#b5b68fGreen Tea#b1a979Bamboo Forest#bcb88aSage
Questions
- What color is #ABAF7B?
- #ABAF7B is a grayish yellow, closest to the named color Cardamom. It belongs to the yellow family of colors.
- What is the RGB value of #ABAF7B?
- The RGB value is 171, 175, 123: 171 red, 175 green and 123 blue on a 0 to 255 scale.
- What is the complementary color of #ABAF7B?
- The complementary color is #7F7BAF, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #ABAF7B?
- Black text. Black text has a contrast ratio of 9.15:1 and white text 2.3:1. WCAG asks for at least 4.5:1 for normal text.