#afa95c ≈ Dark Khaki
#afa95c is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 68.63% red, 66.27% green and 36.08% blue; printed in CMYK it uses 0% cyan, 3.43% magenta, 47.43% yellow and 31.37% black. Its hue angle is 55.66°, with 34.16% saturation and 52.35% 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.65:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 3.98.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #999966 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.3826 |
Shades
#afa95c mixed progressively with black.
Tints
#afa95c mixed progressively with white.
Tones
#afa95c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-afa95c {
color: #afa95c;
}
.bg-afa95c {
background-color: #afa95c;
color: #000000;
}
.border-afa95c {
border: 2px solid #afa95c;
}
:root {
--color-primary: #afa95c;
--color-primary-rgb: 175 169 92;
--color-primary-hsl: 56 34% 52%;
}
.gradient-afa95c {
background: linear-gradient(135deg, #afa95c, #8baf5c);
}
.shadow-afa95c {
box-shadow: 0 8px 24px rgb(175 169 92 / 0.35);
}
Dark Khaki
#afa95c rgb(175, 169, 92) hsl(56, 34%, 52%) Dark Khaki
#5c62af rgb(92, 98, 175) hsl(236, 34%, 52%) Slate Blue
#5cafa9 rgb(92, 175, 169) hsl(176, 34%, 52%) Verdigris
#a95caf rgb(169, 92, 175) hsl(296, 34%, 52%) Purpureus