#afa591 ≈ Dark Gray
#afa591 is a color from the yellow family, with high lightness and muted saturation. In the RGB model it is made of 68.63% red, 64.71% green and 56.86% blue; printed in CMYK it uses 0% cyan, 5.71% magenta, 17.14% yellow and 31.37% black. Its hue angle is 40°, with 15.79% saturation and 62.75% lightness in HSL. It is a warm color, often associated with optimism, attention and joy. Designers typically use it for highlights and warnings, children's products and brand accents. Black text on this color reaches a contrast ratio of 8.61:1 (WCAG AAA). The closest named color is Dark Gray (#a9a9a9), ΔE 9.29.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #999999 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.3807 |
Shades
#afa591 mixed progressively with black.
Tints
#afa591 mixed progressively with white.
Tones
#afa591 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-afa591 {
color: #afa591;
}
.bg-afa591 {
background-color: #afa591;
color: #000000;
}
.border-afa591 {
border: 2px solid #afa591;
}
:root {
--color-primary: #afa591;
--color-primary-rgb: 175 165 145;
--color-primary-hsl: 40 16% 63%;
}
.gradient-afa591 {
background: linear-gradient(135deg, #afa591, #aaaf91);
}
.shadow-afa591 {
box-shadow: 0 8px 24px rgb(175 165 145 / 0.35);
}
Dark Gray
#afa591 rgb(175, 165, 145) hsl(40, 16%, 63%) Dark Gray
#919baf rgb(145, 155, 175) hsl(220, 16%, 63%) Cool Gray
#91afa5 rgb(145, 175, 165) hsl(160, 16%, 63%) Opal
#a591af rgb(165, 145, 175) hsl(280, 16%, 63%) Pastel Purple