#afb548 ≈ Dark Khaki
#afb548 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.98% green and 28.24% blue; printed in CMYK it uses 3.31% cyan, 0% magenta, 60.22% yellow and 29.02% black. Its hue angle is 63.3°, with 43.08% saturation and 49.61% 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.53:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 5.75.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #99cc33 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.4263 |
Shades
#afb548 mixed progressively with black.
Tints
#afb548 mixed progressively with white.
Tones
#afb548 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-afb548 {
color: #afb548;
}
.bg-afb548 {
background-color: #afb548;
color: #000000;
}
.border-afb548 {
border: 2px solid #afb548;
}
:root {
--color-primary: #afb548;
--color-primary-rgb: 175 181 72;
--color-primary-hsl: 63 43% 50%;
}
.gradient-afb548 {
background: linear-gradient(135deg, #afb548, #79b548);
}
.shadow-afb548 {
box-shadow: 0 8px 24px rgb(175 181 72 / 0.35);
}
Dark Khaki
#afb548 rgb(175, 181, 72) hsl(63, 43%, 50%) Dark Khaki
#4e48b5 rgb(78, 72, 181) hsl(243, 43%, 50%) Ocean Blue
#48afb5 rgb(72, 175, 181) hsl(183, 43%, 50%) Verdigris
#b548af rgb(181, 72, 175) hsl(303, 43%, 50%) Purpureus