#afa005 ≈ Brass
#afa005 is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 68.63% red, 62.75% green and 1.96% blue; printed in CMYK it uses 0% cyan, 8.57% magenta, 97.14% yellow and 31.37% black. Its hue angle is 54.71°, with 94.44% saturation and 35.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 call-to-action buttons. Black text on this color reaches a contrast ratio of 7.85:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 4.63.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #999900 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.3427 |
Shades
#afa005 mixed progressively with black.
Tints
#afa005 mixed progressively with white.
Tones
#afa005 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-afa005 {
color: #afa005;
}
.bg-afa005 {
background-color: #afa005;
color: #000000;
}
.border-afa005 {
border: 2px solid #afa005;
}
:root {
--color-primary: #afa005;
--color-primary-rgb: 175 160 5;
--color-primary-hsl: 55 94% 35%;
}
.gradient-afa005 {
background: linear-gradient(135deg, #afa005, #69af05);
}
.shadow-afa005 {
box-shadow: 0 8px 24px rgb(175 160 5 / 0.35);
}
Brass
#afa005 rgb(175, 160, 5) hsl(55, 94%, 35%) Brass
#0514af rgb(5, 20, 175) hsl(235, 94%, 35%) Zaffre
#05afa0 rgb(5, 175, 160) hsl(175, 94%, 35%) Light Sea Green
#a005af rgb(160, 5, 175) hsl(295, 94%, 35%) Dark Violet