#A5AF7E color
The hex color #A5AF7E is a grayish yellow-green.
In the RGB color model it is made of 64.7% red, 68.6% green and 49.4% blue (165, 175, 126).
Its hue angle is 72°, with 23% saturation and 59% lightness. For print, the CMYK equivalent is 6% cyan, 0% magenta, 28% yellow and 31% black.
The closest named color is Estragon (#A5AF76), a difference of 1.9 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 9.03:1).
#A5AF7E color codes
| HEX | #A5AF7E | |
|---|---|---|
| RGB | rgb(165, 175, 126) | |
| RGB percent | rgb(64.7%, 68.6%, 49.4%) | |
| HSL | hsl(72, 23%, 59%) | |
| HSV / HSB | hsv(72, 28%, 69%) | |
| CMYK | cmyk(6%, 0%, 28%, 31%) | |
| CIE LAB | lab(69.59, -11.86, 24.02) | |
| CIE LCH | lch(69.59, 26.79, 116.27) | |
| CIE XYZ | xyz(34.613, 40.166, 25.664) | |
| Decimal | 10858366 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A5AF7E, 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 #A5AF7E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.03:1 | Pass | Pass | Pass |
| Sample text | 2.32:1 | Fail | Fail | Fail |
| #A5AF7E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.32:1 | Fail | Fail | Fail |
| Sample text | 9.03: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 #A5AF7E looks to people with the most common types of color vision deficiency.
#b6aa7bProtanopia
no red cones#b5aa80Deuteranopia
no green cones#aaaaa2Tritanopia
no blue cones#aaaaaaAchromatopsia
no color vision
CSS examples
.background { background-color: #a5af7e; }
.text { color: #a5af7e; }
.border { border: 2px solid #a5af7e; }
.transparent { background-color: rgb(165 175 126 / 50%); }
.gradient { background: linear-gradient(to right, #a5af7e, #8daf7e); }
Similar colors
#a5af76Estragon#afb982Nile#9aa77cForester#aaaa77Cardamom#9caf88Sage Green#a1a46dWillow Leaf#9faf6cMatcha Mecha#a4b88fNorway
Questions
- What color is #A5AF7E?
- #A5AF7E is a grayish yellow-green, closest to the named color Estragon. It belongs to the green family of colors.
- What is the RGB value of #A5AF7E?
- The RGB value is 165, 175, 126: 165 red, 175 green and 126 blue on a 0 to 255 scale.
- What is the complementary color of #A5AF7E?
- The complementary color is #887EAF, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A5AF7E?
- Black text. Black text has a contrast ratio of 9.03:1 and white text 2.32:1. WCAG asks for at least 4.5:1 for normal text.