#b8a008 ≈ Brass
#b8a008 is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 72.16% red, 62.75% green and 3.14% blue; printed in CMYK it uses 0% cyan, 13.04% magenta, 95.65% yellow and 27.84% black. Its hue angle is 51.82°, with 91.67% saturation and 37.65% 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.07:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 5.04.
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.3535 |
Shades
#b8a008 mixed progressively with black.
Tints
#b8a008 mixed progressively with white.
Tones
#b8a008 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b8a008 {
color: #b8a008;
}
.bg-b8a008 {
background-color: #b8a008;
color: #000000;
}
.border-b8a008 {
border: 2px solid #b8a008;
}
:root {
--color-primary: #b8a008;
--color-primary-rgb: 184 160 8;
--color-primary-hsl: 52 92% 38%;
}
.gradient-b8a008 {
background: linear-gradient(135deg, #b8a008, #78b808);
}
.shadow-b8a008 {
box-shadow: 0 8px 24px rgb(184 160 8 / 0.35);
}
Brass
#b8a008 rgb(184, 160, 8) hsl(52, 92%, 38%) Brass
#0820b8 rgb(8, 32, 184) hsl(232, 92%, 38%) Zaffre
#08b8a0 rgb(8, 184, 160) hsl(172, 92%, 38%) Persian Green
#a008b8 rgb(160, 8, 184) hsl(292, 92%, 38%) Dark Violet