#af980f ≈ Brass
#af980f is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 68.63% red, 59.61% green and 5.88% blue; printed in CMYK it uses 0% cyan, 13.14% magenta, 91.43% yellow and 31.37% black. Its hue angle is 51.38°, with 84.21% saturation and 37.25% 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.32:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 5.59.
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.316 |
Shades
#af980f mixed progressively with black.
Tints
#af980f mixed progressively with white.
Tones
#af980f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-af980f {
color: #af980f;
}
.bg-af980f {
background-color: #af980f;
color: #000000;
}
.border-af980f {
border: 2px solid #af980f;
}
:root {
--color-primary: #af980f;
--color-primary-rgb: 175 152 15;
--color-primary-hsl: 51 84% 37%;
}
.gradient-af980f {
background: linear-gradient(135deg, #af980f, #76af0f);
}
.shadow-af980f {
box-shadow: 0 8px 24px rgb(175 152 15 / 0.35);
}
Brass
#af980f rgb(175, 152, 15) hsl(51, 84%, 37%) Brass
#0f26af rgb(15, 38, 175) hsl(231, 84%, 37%) Zaffre
#0faf98 rgb(15, 175, 152) hsl(171, 84%, 37%) Persian Green
#980faf rgb(152, 15, 175) hsl(291, 84%, 37%) Dark Violet