#b8a60f ≈ Brass
#b8a60f is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 72.16% red, 65.1% green and 5.88% blue; printed in CMYK it uses 0% cyan, 9.78% magenta, 91.85% yellow and 27.84% black. Its hue angle is 53.61°, with 84.92% saturation and 39.02% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 8.5:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 4.42.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc9900 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.375 |
Shades
#b8a60f mixed progressively with black.
Tints
#b8a60f mixed progressively with white.
Tones
#b8a60f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b8a60f {
color: #b8a60f;
}
.bg-b8a60f {
background-color: #b8a60f;
color: #000000;
}
.border-b8a60f {
border: 2px solid #b8a60f;
}
:root {
--color-primary: #b8a60f;
--color-primary-rgb: 184 166 15;
--color-primary-hsl: 54 85% 39%;
}
.gradient-b8a60f {
background: linear-gradient(135deg, #b8a60f, #75b80f);
}
.shadow-b8a60f {
box-shadow: 0 8px 24px rgb(184 166 15 / 0.35);
}
Brass
#b8a60f rgb(184, 166, 15) hsl(54, 85%, 39%) Brass
#0f21b8 rgb(15, 33, 184) hsl(234, 85%, 39%) Zaffre
#0fb8a6 rgb(15, 184, 166) hsl(174, 85%, 39%) Light Sea Green
#a60fb8 rgb(166, 15, 184) hsl(294, 85%, 39%) Dark Orchid