#b8a059 ≈ Brass
#b8a059 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 72.16% red, 62.75% green and 34.9% blue; printed in CMYK it uses 0% cyan, 13.04% magenta, 51.63% yellow and 27.84% black. Its hue angle is 44.84°, with 40.08% saturation and 53.53% 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.21:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 5.6.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc9966 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.3605 |
Shades
#b8a059 mixed progressively with black.
Tints
#b8a059 mixed progressively with white.
Tones
#b8a059 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b8a059 {
color: #b8a059;
}
.bg-b8a059 {
background-color: #b8a059;
color: #000000;
}
.border-b8a059 {
border: 2px solid #b8a059;
}
:root {
--color-primary: #b8a059;
--color-primary-rgb: 184 160 89;
--color-primary-hsl: 45 40% 54%;
}
.gradient-b8a059 {
background: linear-gradient(135deg, #b8a059, #a1b859);
}
.shadow-b8a059 {
box-shadow: 0 8px 24px rgb(184 160 89 / 0.35);
}
Brass
#b8a059 rgb(184, 160, 89) hsl(45, 40%, 54%) Brass
#5971b8 rgb(89, 113, 184) hsl(225, 40%, 54%) Royal Blue
#59b8a0 rgb(89, 184, 160) hsl(165, 40%, 54%) Mint
#a059b8 rgb(160, 89, 184) hsl(285, 40%, 54%) Purpureus