#b8a12e ≈ Brass
#b8a12e is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 72.16% red, 63.14% green and 18.04% blue; printed in CMYK it uses 0% cyan, 12.5% magenta, 75% yellow and 27.84% black. Its hue angle is 50°, 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.18:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 3.12.
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.3588 |
Shades
#b8a12e mixed progressively with black.
Tints
#b8a12e mixed progressively with white.
Tones
#b8a12e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b8a12e {
color: #b8a12e;
}
.bg-b8a12e {
background-color: #b8a12e;
color: #000000;
}
.border-b8a12e {
border: 2px solid #b8a12e;
}
:root {
--color-primary: #b8a12e;
--color-primary-rgb: 184 161 46;
--color-primary-hsl: 50 60% 45%;
}
.gradient-b8a12e {
background: linear-gradient(135deg, #b8a12e, #8ab82e);
}
.shadow-b8a12e {
box-shadow: 0 8px 24px rgb(184 161 46 / 0.35);
}
Brass
#b8a12e rgb(184, 161, 46) hsl(50, 60%, 45%) Brass
#2e45b8 rgb(46, 69, 184) hsl(230, 60%, 45%) Persian Blue
#2eb8a1 rgb(46, 184, 161) hsl(170, 60%, 45%) Light Sea Green
#a12eb8 rgb(161, 46, 184) hsl(290, 60%, 45%) Dark Orchid