#afa11c ≈ Brass
#afa11c is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 68.63% red, 63.14% green and 10.98% blue; printed in CMYK it uses 0% cyan, 8% magenta, 84% yellow and 31.37% black. Its hue angle is 54.29°, with 72.41% saturation and 39.8% 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.94:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 3.64.
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.3469 |
Shades
#afa11c mixed progressively with black.
Tints
#afa11c mixed progressively with white.
Tones
#afa11c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-afa11c {
color: #afa11c;
}
.bg-afa11c {
background-color: #afa11c;
color: #000000;
}
.border-afa11c {
border: 2px solid #afa11c;
}
:root {
--color-primary: #afa11c;
--color-primary-rgb: 175 161 28;
--color-primary-hsl: 54 72% 40%;
}
.gradient-afa11c {
background: linear-gradient(135deg, #afa11c, #73af1c);
}
.shadow-afa11c {
box-shadow: 0 8px 24px rgb(175 161 28 / 0.35);
}
Brass
#afa11c rgb(175, 161, 28) hsl(54, 72%, 40%) Brass
#1c2aaf rgb(28, 42, 175) hsl(234, 72%, 40%) Egyptian Blue
#1cafa1 rgb(28, 175, 161) hsl(174, 72%, 40%) Light Sea Green
#a11caf rgb(161, 28, 175) hsl(294, 72%, 40%) Dark Orchid