#afa024 ≈ Brass
#afa024 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 68.63% red, 62.75% green and 14.12% blue; printed in CMYK it uses 0% cyan, 8.57% magenta, 79.43% yellow and 31.37% black. Its hue angle is 53.53°, with 65.88% saturation and 41.37% 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.88:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 3.18.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #999933 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.3438 |
Shades
#afa024 mixed progressively with black.
Tints
#afa024 mixed progressively with white.
Tones
#afa024 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-afa024 {
color: #afa024;
}
.bg-afa024 {
background-color: #afa024;
color: #000000;
}
.border-afa024 {
border: 2px solid #afa024;
}
:root {
--color-primary: #afa024;
--color-primary-rgb: 175 160 36;
--color-primary-hsl: 54 66% 41%;
}
.gradient-afa024 {
background: linear-gradient(135deg, #afa024, #78af24);
}
.shadow-afa024 {
box-shadow: 0 8px 24px rgb(175 160 36 / 0.35);
}
Brass
#afa024 rgb(175, 160, 36) hsl(54, 66%, 41%) Brass
#2433af rgb(36, 51, 175) hsl(234, 66%, 41%) Egyptian Blue
#24afa0 rgb(36, 175, 160) hsl(174, 66%, 41%) Light Sea Green
#a024af rgb(160, 36, 175) hsl(294, 66%, 41%) Dark Orchid