#bbb42d ≈ Brass
#bbb42d is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 73.33% red, 70.59% green and 17.65% blue; printed in CMYK it uses 0% cyan, 3.74% magenta, 75.94% yellow and 26.67% black. Its hue angle is 57.04°, with 61.21% saturation and 45.49% 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.68:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 5.37.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cccc33 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.434 |
Shades
#bbb42d mixed progressively with black.
Tints
#bbb42d mixed progressively with white.
Tones
#bbb42d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-bbb42d {
color: #bbb42d;
}
.bg-bbb42d {
background-color: #bbb42d;
color: #000000;
}
.border-bbb42d {
border: 2px solid #bbb42d;
}
:root {
--color-primary: #bbb42d;
--color-primary-rgb: 187 180 45;
--color-primary-hsl: 57 61% 45%;
}
.gradient-bbb42d {
background: linear-gradient(135deg, #bbb42d, #7bbb2d);
}
.shadow-bbb42d {
box-shadow: 0 8px 24px rgb(187 180 45 / 0.35);
}
Brass
#bbb42d rgb(187, 180, 45) hsl(57, 61%, 45%) Brass
#2d34bb rgb(45, 52, 187) hsl(237, 61%, 45%) Persian Blue
#2dbbb4 rgb(45, 187, 180) hsl(177, 61%, 45%) Tiffany Blue
#b42dbb rgb(180, 45, 187) hsl(297, 61%, 45%) Purpureus