#b1a152 ≈ Brass
#b1a152 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 69.41% red, 63.14% green and 32.16% blue; printed in CMYK it uses 0% cyan, 9.04% magenta, 53.67% yellow and 30.59% black. Its hue angle is 49.89°, with 37.85% saturation and 50.78% 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.09:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 3.36.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #999966 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.3545 |
Shades
#b1a152 mixed progressively with black.
Tints
#b1a152 mixed progressively with white.
Tones
#b1a152 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b1a152 {
color: #b1a152;
}
.bg-b1a152 {
background-color: #b1a152;
color: #000000;
}
.border-b1a152 {
border: 2px solid #b1a152;
}
:root {
--color-primary: #b1a152;
--color-primary-rgb: 177 161 82;
--color-primary-hsl: 50 38% 51%;
}
.gradient-b1a152 {
background: linear-gradient(135deg, #b1a152, #91b152);
}
.shadow-b1a152 {
box-shadow: 0 8px 24px rgb(177 161 82 / 0.35);
}
Brass
#b1a152 rgb(177, 161, 82) hsl(50, 38%, 51%) Brass
#5262b1 rgb(82, 98, 177) hsl(230, 38%, 51%) Queen Blue
#52b1a1 rgb(82, 177, 161) hsl(170, 38%, 51%) Light Sea Green
#a152b1 rgb(161, 82, 177) hsl(290, 38%, 51%) Purpureus