#baa22d ≈ Brass
#baa22d is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 72.94% red, 63.53% green and 17.65% blue; printed in CMYK it uses 0% cyan, 12.9% magenta, 75.81% yellow and 27.06% black. Its hue angle is 49.79°, with 61.04% saturation and 45.29% 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.29:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 3.34.
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.3647 |
Shades
#baa22d mixed progressively with black.
Tints
#baa22d mixed progressively with white.
Tones
#baa22d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-baa22d {
color: #baa22d;
}
.bg-baa22d {
background-color: #baa22d;
color: #000000;
}
.border-baa22d {
border: 2px solid #baa22d;
}
:root {
--color-primary: #baa22d;
--color-primary-rgb: 186 162 45;
--color-primary-hsl: 50 61% 45%;
}
.gradient-baa22d {
background: linear-gradient(135deg, #baa22d, #8bba2d);
}
.shadow-baa22d {
box-shadow: 0 8px 24px rgb(186 162 45 / 0.35);
}
Brass
#baa22d rgb(186, 162, 45) hsl(50, 61%, 45%) Brass
#2d45ba rgb(45, 69, 186) hsl(230, 61%, 45%) Persian Blue
#2dbaa2 rgb(45, 186, 162) hsl(170, 61%, 45%) Light Sea Green
#a22dba rgb(162, 45, 186) hsl(290, 61%, 45%) Dark Orchid