#afa86b ≈ Dark Khaki
#afa86b is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 68.63% red, 65.88% green and 41.96% blue; printed in CMYK it uses 0% cyan, 4% magenta, 38.86% yellow and 31.37% black. Its hue angle is 53.82°, with 29.82% saturation and 55.29% 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.64:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 4.86.
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.3818 |
Shades
#afa86b mixed progressively with black.
Tints
#afa86b mixed progressively with white.
Tones
#afa86b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-afa86b {
color: #afa86b;
}
.bg-afa86b {
background-color: #afa86b;
color: #000000;
}
.border-afa86b {
border: 2px solid #afa86b;
}
:root {
--color-primary: #afa86b;
--color-primary-rgb: 175 168 107;
--color-primary-hsl: 54 30% 55%;
}
.gradient-afa86b {
background: linear-gradient(135deg, #afa86b, #94af6b);
}
.shadow-afa86b {
box-shadow: 0 8px 24px rgb(175 168 107 / 0.35);
}
Dark Khaki
#afa86b rgb(175, 168, 107) hsl(54, 30%, 55%) Dark Khaki
#6b72af rgb(107, 114, 175) hsl(234, 30%, 55%) Glaucous
#6bafa8 rgb(107, 175, 168) hsl(174, 30%, 55%) Verdigris
#a86baf rgb(168, 107, 175) hsl(294, 30%, 55%) Purple Mountain Majesty