#b7ac2f ≈ Brass
#b7ac2f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 71.76% red, 67.45% green and 18.43% blue; printed in CMYK it uses 0% cyan, 6.01% magenta, 74.32% yellow and 28.24% black. Its hue angle is 55.15°, with 59.13% saturation and 45.1% 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 8.96:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 3.24.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc9933 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.3978 |
Shades
#b7ac2f mixed progressively with black.
Tints
#b7ac2f mixed progressively with white.
Tones
#b7ac2f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b7ac2f {
color: #b7ac2f;
}
.bg-b7ac2f {
background-color: #b7ac2f;
color: #000000;
}
.border-b7ac2f {
border: 2px solid #b7ac2f;
}
:root {
--color-primary: #b7ac2f;
--color-primary-rgb: 183 172 47;
--color-primary-hsl: 55 59% 45%;
}
.gradient-b7ac2f {
background: linear-gradient(135deg, #b7ac2f, #7eb72f);
}
.shadow-b7ac2f {
box-shadow: 0 8px 24px rgb(183 172 47 / 0.35);
}
Brass
#b7ac2f rgb(183, 172, 47) hsl(55, 59%, 45%) Brass
#2f3ab7 rgb(47, 58, 183) hsl(235, 59%, 45%) Persian Blue
#2fb7ac rgb(47, 183, 172) hsl(175, 59%, 45%) Light Sea Green
#ac2fb7 rgb(172, 47, 183) hsl(295, 59%, 45%) Dark Orchid