#b8a91c ≈ Brass
#b8a91c is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 72.16% red, 66.27% green and 10.98% blue; printed in CMYK it uses 0% cyan, 8.15% magenta, 84.78% yellow and 27.84% black. Its hue angle is 54.23°, with 73.58% saturation and 41.57% 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.73:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 3.98.
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.3865 |
Shades
#b8a91c mixed progressively with black.
Tints
#b8a91c mixed progressively with white.
Tones
#b8a91c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b8a91c {
color: #b8a91c;
}
.bg-b8a91c {
background-color: #b8a91c;
color: #000000;
}
.border-b8a91c {
border: 2px solid #b8a91c;
}
:root {
--color-primary: #b8a91c;
--color-primary-rgb: 184 169 28;
--color-primary-hsl: 54 74% 42%;
}
.gradient-b8a91c {
background: linear-gradient(135deg, #b8a91c, #79b81c);
}
.shadow-b8a91c {
box-shadow: 0 8px 24px rgb(184 169 28 / 0.35);
}
Brass
#b8a91c rgb(184, 169, 28) hsl(54, 74%, 42%) Brass
#1c2bb8 rgb(28, 43, 184) hsl(234, 74%, 42%) Persian Blue
#1cb8a9 rgb(28, 184, 169) hsl(174, 74%, 42%) Light Sea Green
#a91cb8 rgb(169, 28, 184) hsl(294, 74%, 42%) Dark Orchid