#b7a71d ≈ Brass
#b7a71d is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 71.76% red, 65.49% green and 11.37% blue; printed in CMYK it uses 0% cyan, 8.74% magenta, 84.15% yellow and 28.24% black. Its hue angle is 53.77°, with 72.64% saturation and 41.57% 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.56:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 3.71.
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.3779 |
Shades
#b7a71d mixed progressively with black.
Tints
#b7a71d mixed progressively with white.
Tones
#b7a71d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b7a71d {
color: #b7a71d;
}
.bg-b7a71d {
background-color: #b7a71d;
color: #000000;
}
.border-b7a71d {
border: 2px solid #b7a71d;
}
:root {
--color-primary: #b7a71d;
--color-primary-rgb: 183 167 29;
--color-primary-hsl: 54 73% 42%;
}
.gradient-b7a71d {
background: linear-gradient(135deg, #b7a71d, #7ab71d);
}
.shadow-b7a71d {
box-shadow: 0 8px 24px rgb(183 167 29 / 0.35);
}
Brass
#b7a71d rgb(183, 167, 29) hsl(54, 73%, 42%) Brass
#1d2db7 rgb(29, 45, 183) hsl(234, 73%, 42%) Persian Blue
#1db7a7 rgb(29, 183, 167) hsl(174, 73%, 42%) Light Sea Green
#a71db7 rgb(167, 29, 183) hsl(294, 73%, 42%) Dark Orchid