#bba71d ≈ Brass
#bba71d is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 73.33% red, 65.49% green and 11.37% blue; printed in CMYK it uses 0% cyan, 10.7% magenta, 84.49% yellow and 26.67% black. Its hue angle is 52.41°, with 73.15% saturation and 42.35% 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.66:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 3.99.
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.3829 |
Shades
#bba71d mixed progressively with black.
Tints
#bba71d mixed progressively with white.
Tones
#bba71d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-bba71d {
color: #bba71d;
}
.bg-bba71d {
background-color: #bba71d;
color: #000000;
}
.border-bba71d {
border: 2px solid #bba71d;
}
:root {
--color-primary: #bba71d;
--color-primary-rgb: 187 167 29;
--color-primary-hsl: 52 73% 42%;
}
.gradient-bba71d {
background: linear-gradient(135deg, #bba71d, #80bb1d);
}
.shadow-bba71d {
box-shadow: 0 8px 24px rgb(187 167 29 / 0.35);
}
Brass
#bba71d rgb(187, 167, 29) hsl(52, 73%, 42%) Brass
#1d31bb rgb(29, 49, 187) hsl(232, 73%, 42%) Persian Blue
#1dbba7 rgb(29, 187, 167) hsl(172, 73%, 42%) Light Sea Green
#a71dbb rgb(167, 29, 187) hsl(292, 73%, 42%) Dark Orchid