#afb45f ≈ Dark Khaki
#afb45f is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 68.63% red, 70.59% green and 37.25% blue; printed in CMYK it uses 2.78% cyan, 0% magenta, 47.22% yellow and 29.41% black. Its hue angle is 63.53°, with 36.17% saturation and 53.92% 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 9.52:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 3.64.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #99cc66 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.4258 |
Shades
#afb45f mixed progressively with black.
Tints
#afb45f mixed progressively with white.
Tones
#afb45f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-afb45f {
color: #afb45f;
}
.bg-afb45f {
background-color: #afb45f;
color: #000000;
}
.border-afb45f {
border: 2px solid #afb45f;
}
:root {
--color-primary: #afb45f;
--color-primary-rgb: 175 180 95;
--color-primary-hsl: 64 36% 54%;
}
.gradient-afb45f {
background: linear-gradient(135deg, #afb45f, #84b45f);
}
.shadow-afb45f {
box-shadow: 0 8px 24px rgb(175 180 95 / 0.35);
}
Dark Khaki
#afb45f rgb(175, 180, 95) hsl(64, 36%, 54%) Dark Khaki
#645fb4 rgb(100, 95, 180) hsl(244, 36%, 54%) Slate Blue
#5fafb4 rgb(95, 175, 180) hsl(184, 36%, 54%) Cadet Blue
#b45faf rgb(180, 95, 175) hsl(304, 36%, 54%) Medium Orchid