#b8a00a ≈ Brass
#b8a00a 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.92% blue; printed in CMYK it uses 0% cyan, 13.04% magenta, 94.57% yellow and 27.84% black. Its hue angle is 51.72°, with 89.69% saturation and 38.04% 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 4.99.
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
#b8a00a mixed progressively with black.
Tints
#b8a00a mixed progressively with white.
Tones
#b8a00a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b8a00a {
color: #b8a00a;
}
.bg-b8a00a {
background-color: #b8a00a;
color: #000000;
}
.border-b8a00a {
border: 2px solid #b8a00a;
}
:root {
--color-primary: #b8a00a;
--color-primary-rgb: 184 160 10;
--color-primary-hsl: 52 90% 38%;
}
.gradient-b8a00a {
background: linear-gradient(135deg, #b8a00a, #79b80a);
}
.shadow-b8a00a {
box-shadow: 0 8px 24px rgb(184 160 10 / 0.35);
}
Brass
#b8a00a rgb(184, 160, 10) hsl(52, 90%, 38%) Brass
#0a22b8 rgb(10, 34, 184) hsl(232, 90%, 38%) Zaffre
#0ab8a0 rgb(10, 184, 160) hsl(172, 90%, 38%) Persian Green
#a00ab8 rgb(160, 10, 184) hsl(292, 90%, 38%) Dark Violet