#b1a42e ≈ Brass
#b1a42e is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 69.41% red, 64.31% green and 18.04% blue; printed in CMYK it uses 0% cyan, 7.34% magenta, 74.01% yellow and 30.59% black. Its hue angle is 54.05°, with 58.74% saturation and 43.73% 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.22:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 2.25.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #999933 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.361 |
Shades
#b1a42e mixed progressively with black.
Tints
#b1a42e mixed progressively with white.
Tones
#b1a42e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b1a42e {
color: #b1a42e;
}
.bg-b1a42e {
background-color: #b1a42e;
color: #000000;
}
.border-b1a42e {
border: 2px solid #b1a42e;
}
:root {
--color-primary: #b1a42e;
--color-primary-rgb: 177 164 46;
--color-primary-hsl: 54 59% 44%;
}
.gradient-b1a42e {
background: linear-gradient(135deg, #b1a42e, #7db12e);
}
.shadow-b1a42e {
box-shadow: 0 8px 24px rgb(177 164 46 / 0.35);
}
Brass
#b1a42e rgb(177, 164, 46) hsl(54, 59%, 44%) Brass
#2e3bb1 rgb(46, 59, 177) hsl(234, 59%, 44%) Persian Blue
#2eb1a4 rgb(46, 177, 164) hsl(174, 59%, 44%) Light Sea Green
#a42eb1 rgb(164, 46, 177) hsl(294, 59%, 44%) Dark Orchid