#b6ab4e ≈ Brass
#b6ab4e is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 71.37% red, 67.06% green and 30.59% blue; printed in CMYK it uses 0% cyan, 6.04% magenta, 57.14% yellow and 28.63% black. Its hue angle is 53.65°, with 41.6% saturation and 50.98% 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.92:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 2.04.
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.3962 |
Shades
#b6ab4e mixed progressively with black.
Tints
#b6ab4e mixed progressively with white.
Tones
#b6ab4e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b6ab4e {
color: #b6ab4e;
}
.bg-b6ab4e {
background-color: #b6ab4e;
color: #000000;
}
.border-b6ab4e {
border: 2px solid #b6ab4e;
}
:root {
--color-primary: #b6ab4e;
--color-primary-rgb: 182 171 78;
--color-primary-hsl: 54 42% 51%;
}
.gradient-b6ab4e {
background: linear-gradient(135deg, #b6ab4e, #8db64e);
}
.shadow-b6ab4e {
box-shadow: 0 8px 24px rgb(182 171 78 / 0.35);
}
Brass
#b6ab4e rgb(182, 171, 78) hsl(54, 42%, 51%) Brass
#4e59b6 rgb(78, 89, 182) hsl(234, 42%, 51%) Iris
#4eb6ab rgb(78, 182, 171) hsl(174, 42%, 51%) Verdigris
#ab4eb6 rgb(171, 78, 182) hsl(294, 42%, 51%) Purpureus