#bbab21 ≈ Brass
#bbab21 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 73.33% red, 67.06% green and 12.94% blue; printed in CMYK it uses 0% cyan, 8.56% magenta, 82.35% yellow and 26.67% black. Its hue angle is 53.77°, with 70% saturation and 43.14% 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.96:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 4.02.
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.398 |
Shades
#bbab21 mixed progressively with black.
Tints
#bbab21 mixed progressively with white.
Tones
#bbab21 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-bbab21 {
color: #bbab21;
}
.bg-bbab21 {
background-color: #bbab21;
color: #000000;
}
.border-bbab21 {
border: 2px solid #bbab21;
}
:root {
--color-primary: #bbab21;
--color-primary-rgb: 187 171 33;
--color-primary-hsl: 54 70% 43%;
}
.gradient-bbab21 {
background: linear-gradient(135deg, #bbab21, #7ebb21);
}
.shadow-bbab21 {
box-shadow: 0 8px 24px rgb(187 171 33 / 0.35);
}
Brass
#bbab21 rgb(187, 171, 33) hsl(54, 70%, 43%) Brass
#2131bb rgb(33, 49, 187) hsl(234, 70%, 43%) Persian Blue
#21bbab rgb(33, 187, 171) hsl(174, 70%, 43%) Light Sea Green
#ab21bb rgb(171, 33, 187) hsl(294, 70%, 43%) Dark Orchid