#a8971f ≈ Brass
#a8971f is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 65.88% red, 59.22% green and 12.16% blue; printed in CMYK it uses 0% cyan, 10.12% magenta, 81.55% yellow and 34.12% black. Its hue angle is 52.55°, with 68.84% saturation and 39.02% 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.11:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 5.08.
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.3056 |
Shades
#a8971f mixed progressively with black.
Tints
#a8971f mixed progressively with white.
Tones
#a8971f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-a8971f {
color: #a8971f;
}
.bg-a8971f {
background-color: #a8971f;
color: #000000;
}
.border-a8971f {
border: 2px solid #a8971f;
}
:root {
--color-primary: #a8971f;
--color-primary-rgb: 168 151 31;
--color-primary-hsl: 53 69% 39%;
}
.gradient-a8971f {
background: linear-gradient(135deg, #a8971f, #75a81f);
}
.shadow-a8971f {
box-shadow: 0 8px 24px rgb(168 151 31 / 0.35);
}
Brass
#a8971f rgb(168, 151, 31) hsl(53, 69%, 39%) Brass
#1f30a8 rgb(31, 48, 168) hsl(233, 69%, 39%) Egyptian Blue
#1fa897 rgb(31, 168, 151) hsl(173, 69%, 39%) Persian Green
#971fa8 rgb(151, 31, 168) hsl(293, 69%, 39%) Dark Magenta