#b7ad4e ≈ Brass
#b7ad4e is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 71.76% red, 67.84% green and 30.59% blue; printed in CMYK it uses 0% cyan, 5.46% magenta, 57.38% yellow and 28.24% black. Its hue angle is 54.29°, with 42.17% saturation and 51.18% 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 9.1:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 2.46.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc9966 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.405 |
Shades
#b7ad4e mixed progressively with black.
Tints
#b7ad4e mixed progressively with white.
Tones
#b7ad4e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b7ad4e {
color: #b7ad4e;
}
.bg-b7ad4e {
background-color: #b7ad4e;
color: #000000;
}
.border-b7ad4e {
border: 2px solid #b7ad4e;
}
:root {
--color-primary: #b7ad4e;
--color-primary-rgb: 183 173 78;
--color-primary-hsl: 54 42% 51%;
}
.gradient-b7ad4e {
background: linear-gradient(135deg, #b7ad4e, #8db74e);
}
.shadow-b7ad4e {
box-shadow: 0 8px 24px rgb(183 173 78 / 0.35);
}
Brass
#b7ad4e rgb(183, 173, 78) hsl(54, 42%, 51%) Brass
#4e58b7 rgb(78, 88, 183) hsl(234, 42%, 51%) Iris
#4eb7ad rgb(78, 183, 173) hsl(174, 42%, 51%) Verdigris
#ad4eb7 rgb(173, 78, 183) hsl(294, 42%, 51%) Purpureus