#b6b42e ≈ Brass
#b6b42e is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 71.37% red, 70.59% green and 18.04% blue; printed in CMYK it uses 0% cyan, 1.1% magenta, 74.73% yellow and 28.63% black. Its hue angle is 59.12°, with 59.65% saturation and 44.71% 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.56:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 5.75.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cccc33 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.4278 |
Shades
#b6b42e mixed progressively with black.
Tints
#b6b42e mixed progressively with white.
Tones
#b6b42e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b6b42e {
color: #b6b42e;
}
.bg-b6b42e {
background-color: #b6b42e;
color: #000000;
}
.border-b6b42e {
border: 2px solid #b6b42e;
}
:root {
--color-primary: #b6b42e;
--color-primary-rgb: 182 180 46;
--color-primary-hsl: 59 60% 45%;
}
.gradient-b6b42e {
background: linear-gradient(135deg, #b6b42e, #74b62e);
}
.shadow-b6b42e {
box-shadow: 0 8px 24px rgb(182 180 46 / 0.35);
}
Brass
#b6b42e rgb(182, 180, 46) hsl(59, 60%, 45%) Brass
#2e30b6 rgb(46, 48, 182) hsl(239, 60%, 45%) Persian Blue
#2eb6b4 rgb(46, 182, 180) hsl(179, 60%, 45%) Verdigris
#b42eb6 rgb(180, 46, 182) hsl(299, 60%, 45%) Purpureus