#baaf2a ≈ Brass
#baaf2a is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 72.94% red, 68.63% green and 16.47% blue; printed in CMYK it uses 0% cyan, 5.91% magenta, 77.42% yellow and 27.06% black. Its hue angle is 55.42°, with 63.16% saturation and 44.71% 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.25:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 4.21.
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.4127 |
Shades
#baaf2a mixed progressively with black.
Tints
#baaf2a mixed progressively with white.
Tones
#baaf2a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-baaf2a {
color: #baaf2a;
}
.bg-baaf2a {
background-color: #baaf2a;
color: #000000;
}
.border-baaf2a {
border: 2px solid #baaf2a;
}
:root {
--color-primary: #baaf2a;
--color-primary-rgb: 186 175 42;
--color-primary-hsl: 55 63% 45%;
}
.gradient-baaf2a {
background: linear-gradient(135deg, #baaf2a, #7dba2a);
}
.shadow-baaf2a {
box-shadow: 0 8px 24px rgb(186 175 42 / 0.35);
}
Brass
#baaf2a rgb(186, 175, 42) hsl(55, 63%, 45%) Brass
#2a35ba rgb(42, 53, 186) hsl(235, 63%, 45%) Persian Blue
#2abaaf rgb(42, 186, 175) hsl(175, 63%, 45%) Tiffany Blue
#af2aba rgb(175, 42, 186) hsl(295, 63%, 45%) Dark Orchid