#bba30c ≈ Brass
#bba30c is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 73.33% red, 63.92% green and 4.71% blue; printed in CMYK it uses 0% cyan, 12.83% magenta, 93.58% yellow and 26.67% black. Its hue angle is 51.77°, with 87.94% saturation and 39.02% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 8.36:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 4.94.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc9900 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.3679 |
Shades
#bba30c mixed progressively with black.
Tints
#bba30c mixed progressively with white.
Tones
#bba30c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-bba30c {
color: #bba30c;
}
.bg-bba30c {
background-color: #bba30c;
color: #000000;
}
.border-bba30c {
border: 2px solid #bba30c;
}
:root {
--color-primary: #bba30c;
--color-primary-rgb: 187 163 12;
--color-primary-hsl: 52 88% 39%;
}
.gradient-bba30c {
background: linear-gradient(135deg, #bba30c, #7cbb0c);
}
.shadow-bba30c {
box-shadow: 0 8px 24px rgb(187 163 12 / 0.35);
}
Brass
#bba30c rgb(187, 163, 12) hsl(52, 88%, 39%) Brass
#0c24bb rgb(12, 36, 187) hsl(232, 88%, 39%) Zaffre
#0cbba3 rgb(12, 187, 163) hsl(172, 88%, 39%) Light Sea Green
#a30cbb rgb(163, 12, 187) hsl(292, 88%, 39%) Dark Orchid