#ab980f ≈ Brass
#ab980f is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 67.06% red, 59.61% green and 5.88% blue; printed in CMYK it uses 0% cyan, 11.11% magenta, 91.23% yellow and 32.94% black. Its hue angle is 52.69°, with 83.87% saturation and 36.47% 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.23:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 5.41.
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.3115 |
Shades
#ab980f mixed progressively with black.
Tints
#ab980f mixed progressively with white.
Tones
#ab980f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ab980f {
color: #ab980f;
}
.bg-ab980f {
background-color: #ab980f;
color: #000000;
}
.border-ab980f {
border: 2px solid #ab980f;
}
:root {
--color-primary: #ab980f;
--color-primary-rgb: 171 152 15;
--color-primary-hsl: 53 84% 36%;
}
.gradient-ab980f {
background: linear-gradient(135deg, #ab980f, #70ab0f);
}
.shadow-ab980f {
box-shadow: 0 8px 24px rgb(171 152 15 / 0.35);
}
Brass
#ab980f rgb(171, 152, 15) hsl(53, 84%, 36%) Brass
#0f22ab rgb(15, 34, 171) hsl(233, 84%, 36%) Zaffre
#0fab98 rgb(15, 171, 152) hsl(173, 84%, 36%) Persian Green
#980fab rgb(152, 15, 171) hsl(293, 84%, 36%) Dark Magenta