#afa015 ≈ Brass
#afa015 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 8.24% blue; printed in CMYK it uses 0% cyan, 8.57% magenta, 88% yellow and 31.37% black. Its hue angle is 54.16°, with 78.57% saturation and 38.43% 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 7.86:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 4.06.
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.3431 |
Shades
#afa015 mixed progressively with black.
Tints
#afa015 mixed progressively with white.
Tones
#afa015 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-afa015 {
color: #afa015;
}
.bg-afa015 {
background-color: #afa015;
color: #000000;
}
.border-afa015 {
border: 2px solid #afa015;
}
:root {
--color-primary: #afa015;
--color-primary-rgb: 175 160 21;
--color-primary-hsl: 54 79% 38%;
}
.gradient-afa015 {
background: linear-gradient(135deg, #afa015, #71af15);
}
.shadow-afa015 {
box-shadow: 0 8px 24px rgb(175 160 21 / 0.35);
}
Brass
#afa015 rgb(175, 160, 21) hsl(54, 79%, 38%) Brass
#1524af rgb(21, 36, 175) hsl(234, 79%, 38%) Zaffre
#15afa0 rgb(21, 175, 160) hsl(174, 79%, 38%) Light Sea Green
#a015af rgb(160, 21, 175) hsl(294, 79%, 38%) Dark Orchid