#b8a42e ≈ Brass
#b8a42e is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 72.16% red, 64.31% green and 18.04% blue; printed in CMYK it uses 0% cyan, 10.87% magenta, 75% yellow and 27.84% black. Its hue angle is 51.3°, with 60% saturation and 45.1% 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.39:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 2.55.
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.3694 |
Shades
#b8a42e mixed progressively with black.
Tints
#b8a42e mixed progressively with white.
Tones
#b8a42e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b8a42e {
color: #b8a42e;
}
.bg-b8a42e {
background-color: #b8a42e;
color: #000000;
}
.border-b8a42e {
border: 2px solid #b8a42e;
}
:root {
--color-primary: #b8a42e;
--color-primary-rgb: 184 164 46;
--color-primary-hsl: 51 60% 45%;
}
.gradient-b8a42e {
background: linear-gradient(135deg, #b8a42e, #87b82e);
}
.shadow-b8a42e {
box-shadow: 0 8px 24px rgb(184 164 46 / 0.35);
}
Brass
#b8a42e rgb(184, 164, 46) hsl(51, 60%, 45%) Brass
#2e42b8 rgb(46, 66, 184) hsl(231, 60%, 45%) Persian Blue
#2eb8a4 rgb(46, 184, 164) hsl(171, 60%, 45%) Light Sea Green
#a42eb8 rgb(164, 46, 184) hsl(291, 60%, 45%) Dark Orchid