#afa80a ≈ Brass
#afa80a is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 68.63% red, 65.88% green and 3.92% blue; printed in CMYK it uses 0% cyan, 4% magenta, 94.29% yellow and 31.37% black. Its hue angle is 57.45°, with 89.19% saturation and 36.27% 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 8.43:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 4.96.
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.3714 |
Shades
#afa80a mixed progressively with black.
Tints
#afa80a mixed progressively with white.
Tones
#afa80a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-afa80a {
color: #afa80a;
}
.bg-afa80a {
background-color: #afa80a;
color: #000000;
}
.border-afa80a {
border: 2px solid #afa80a;
}
:root {
--color-primary: #afa80a;
--color-primary-rgb: 175 168 10;
--color-primary-hsl: 57 89% 36%;
}
.gradient-afa80a {
background: linear-gradient(135deg, #afa80a, #64af0a);
}
.shadow-afa80a {
box-shadow: 0 8px 24px rgb(175 168 10 / 0.35);
}
Brass
#afa80a rgb(175, 168, 10) hsl(57, 89%, 36%) Brass
#0a11af rgb(10, 17, 175) hsl(237, 89%, 36%) Zaffre
#0aafa8 rgb(10, 175, 168) hsl(177, 89%, 36%) Light Sea Green
#a80aaf rgb(168, 10, 175) hsl(297, 89%, 36%) Dark Orchid