#b5a62e ≈ Brass
#b5a62e is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 70.98% red, 65.1% green and 18.04% blue; printed in CMYK it uses 0% cyan, 8.29% magenta, 74.59% yellow and 29.02% black. Its hue angle is 53.33°, with 59.47% saturation and 44.51% 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.46:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 2.26.
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.3729 |
Shades
#b5a62e mixed progressively with black.
Tints
#b5a62e mixed progressively with white.
Tones
#b5a62e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b5a62e {
color: #b5a62e;
}
.bg-b5a62e {
background-color: #b5a62e;
color: #000000;
}
.border-b5a62e {
border: 2px solid #b5a62e;
}
:root {
--color-primary: #b5a62e;
--color-primary-rgb: 181 166 46;
--color-primary-hsl: 53 59% 45%;
}
.gradient-b5a62e {
background: linear-gradient(135deg, #b5a62e, #81b52e);
}
.shadow-b5a62e {
box-shadow: 0 8px 24px rgb(181 166 46 / 0.35);
}
Brass
#b5a62e rgb(181, 166, 46) hsl(53, 59%, 45%) Brass
#2e3db5 rgb(46, 61, 181) hsl(233, 59%, 45%) Persian Blue
#2eb5a6 rgb(46, 181, 166) hsl(173, 59%, 45%) Light Sea Green
#a62eb5 rgb(166, 46, 181) hsl(293, 59%, 45%) Dark Orchid