#baab2a ≈ Brass
#baab2a 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.06% green and 16.47% blue; printed in CMYK it uses 0% cyan, 8.06% magenta, 77.42% yellow and 27.06% black. Its hue angle is 53.75°, 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 8.95:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 3.36.
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.3973 |
Shades
#baab2a mixed progressively with black.
Tints
#baab2a mixed progressively with white.
Tones
#baab2a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-baab2a {
color: #baab2a;
}
.bg-baab2a {
background-color: #baab2a;
color: #000000;
}
.border-baab2a {
border: 2px solid #baab2a;
}
:root {
--color-primary: #baab2a;
--color-primary-rgb: 186 171 42;
--color-primary-hsl: 54 63% 45%;
}
.gradient-baab2a {
background: linear-gradient(135deg, #baab2a, #81ba2a);
}
.shadow-baab2a {
box-shadow: 0 8px 24px rgb(186 171 42 / 0.35);
}
Brass
#baab2a rgb(186, 171, 42) hsl(54, 63%, 45%) Brass
#2a39ba rgb(42, 57, 186) hsl(234, 63%, 45%) Persian Blue
#2abaab rgb(42, 186, 171) hsl(174, 63%, 45%) Light Sea Green
#ab2aba rgb(171, 42, 186) hsl(294, 63%, 45%) Dark Orchid