#b8a02f ≈ Brass
#b8a02f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 72.16% red, 62.75% green and 18.43% blue; printed in CMYK it uses 0% cyan, 13.04% magenta, 74.46% yellow and 27.84% black. Its hue angle is 49.49°, with 59.31% saturation and 45.29% 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.11:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 3.33.
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.3554 |
Shades
#b8a02f mixed progressively with black.
Tints
#b8a02f mixed progressively with white.
Tones
#b8a02f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b8a02f {
color: #b8a02f;
}
.bg-b8a02f {
background-color: #b8a02f;
color: #000000;
}
.border-b8a02f {
border: 2px solid #b8a02f;
}
:root {
--color-primary: #b8a02f;
--color-primary-rgb: 184 160 47;
--color-primary-hsl: 49 59% 45%;
}
.gradient-b8a02f {
background: linear-gradient(135deg, #b8a02f, #8bb82f);
}
.shadow-b8a02f {
box-shadow: 0 8px 24px rgb(184 160 47 / 0.35);
}
Brass
#b8a02f rgb(184, 160, 47) hsl(49, 59%, 45%) Brass
#2f47b8 rgb(47, 71, 184) hsl(229, 59%, 45%) Persian Blue
#2fb8a0 rgb(47, 184, 160) hsl(169, 59%, 45%) Persian Green
#a02fb8 rgb(160, 47, 184) hsl(289, 59%, 45%) Dark Orchid