#baac2f ≈ Brass
#baac2f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 72.94% red, 67.45% green and 18.43% blue; printed in CMYK it uses 0% cyan, 7.53% magenta, 74.73% yellow and 27.06% black. Its hue angle is 53.96°, with 59.66% saturation and 45.69% 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 9.03:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 3.17.
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.4015 |
Shades
#baac2f mixed progressively with black.
Tints
#baac2f mixed progressively with white.
Tones
#baac2f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-baac2f {
color: #baac2f;
}
.bg-baac2f {
background-color: #baac2f;
color: #000000;
}
.border-baac2f {
border: 2px solid #baac2f;
}
:root {
--color-primary: #baac2f;
--color-primary-rgb: 186 172 47;
--color-primary-hsl: 54 60% 46%;
}
.gradient-baac2f {
background: linear-gradient(135deg, #baac2f, #83ba2f);
}
.shadow-baac2f {
box-shadow: 0 8px 24px rgb(186 172 47 / 0.35);
}
Brass
#baac2f rgb(186, 172, 47) hsl(54, 60%, 46%) Brass
#2f3dba rgb(47, 61, 186) hsl(234, 60%, 46%) Persian Blue
#2fbaac rgb(47, 186, 172) hsl(174, 60%, 46%) Light Sea Green
#ac2fba rgb(172, 47, 186) hsl(294, 60%, 46%) Dark Orchid