#bab22d ≈ Brass
#bab22d is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 72.94% red, 69.8% green and 17.65% blue; printed in CMYK it uses 0% cyan, 4.3% magenta, 75.81% yellow and 27.06% black. Its hue angle is 56.6°, 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 9.49:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 4.85.
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.4247 |
Shades
#bab22d mixed progressively with black.
Tints
#bab22d mixed progressively with white.
Tones
#bab22d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-bab22d {
color: #bab22d;
}
.bg-bab22d {
background-color: #bab22d;
color: #000000;
}
.border-bab22d {
border: 2px solid #bab22d;
}
:root {
--color-primary: #bab22d;
--color-primary-rgb: 186 178 45;
--color-primary-hsl: 57 61% 45%;
}
.gradient-bab22d {
background: linear-gradient(135deg, #bab22d, #7bba2d);
}
.shadow-bab22d {
box-shadow: 0 8px 24px rgb(186 178 45 / 0.35);
}
Brass
#bab22d rgb(186, 178, 45) hsl(57, 61%, 45%) Brass
#2d35ba rgb(45, 53, 186) hsl(237, 61%, 45%) Persian Blue
#2dbab2 rgb(45, 186, 178) hsl(177, 61%, 45%) Tiffany Blue
#b22dba rgb(178, 45, 186) hsl(297, 61%, 45%) Purpureus