#b4a42e ≈ Brass
#b4a42e is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 70.59% red, 64.31% green and 18.04% blue; printed in CMYK it uses 0% cyan, 8.89% magenta, 74.44% yellow and 29.41% black. Its hue angle is 52.84°, with 59.29% saturation and 44.31% 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.29:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 2.17.
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.3645 |
Shades
#b4a42e mixed progressively with black.
Tints
#b4a42e mixed progressively with white.
Tones
#b4a42e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b4a42e {
color: #b4a42e;
}
.bg-b4a42e {
background-color: #b4a42e;
color: #000000;
}
.border-b4a42e {
border: 2px solid #b4a42e;
}
:root {
--color-primary: #b4a42e;
--color-primary-rgb: 180 164 46;
--color-primary-hsl: 53 59% 44%;
}
.gradient-b4a42e {
background: linear-gradient(135deg, #b4a42e, #81b42e);
}
.shadow-b4a42e {
box-shadow: 0 8px 24px rgb(180 164 46 / 0.35);
}
Brass
#b4a42e rgb(180, 164, 46) hsl(53, 59%, 44%) Brass
#2e3eb4 rgb(46, 62, 180) hsl(233, 59%, 44%) Persian Blue
#2eb4a4 rgb(46, 180, 164) hsl(173, 59%, 44%) Light Sea Green
#a42eb4 rgb(164, 46, 180) hsl(293, 59%, 44%) Dark Orchid