#b8a828 ≈ Brass
#b8a828 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 72.16% red, 65.88% green and 15.69% blue; printed in CMYK it uses 0% cyan, 8.7% magenta, 78.26% yellow and 27.84% black. Its hue angle is 53.33°, with 64.29% saturation and 43.92% 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.67:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 3.04.
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.3835 |
Shades
#b8a828 mixed progressively with black.
Tints
#b8a828 mixed progressively with white.
Tones
#b8a828 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b8a828 {
color: #b8a828;
}
.bg-b8a828 {
background-color: #b8a828;
color: #000000;
}
.border-b8a828 {
border: 2px solid #b8a828;
}
:root {
--color-primary: #b8a828;
--color-primary-rgb: 184 168 40;
--color-primary-hsl: 53 64% 44%;
}
.gradient-b8a828 {
background: linear-gradient(135deg, #b8a828, #80b828);
}
.shadow-b8a828 {
box-shadow: 0 8px 24px rgb(184 168 40 / 0.35);
}
Brass
#b8a828 rgb(184, 168, 40) hsl(53, 64%, 44%) Brass
#2838b8 rgb(40, 56, 184) hsl(233, 64%, 44%) Persian Blue
#28b8a8 rgb(40, 184, 168) hsl(173, 64%, 44%) Light Sea Green
#a828b8 rgb(168, 40, 184) hsl(293, 64%, 44%) Dark Orchid