#b5ab42 ≈ Brass
#b5ab42 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 70.98% red, 67.06% green and 25.88% blue; printed in CMYK it uses 0% cyan, 5.52% magenta, 63.54% yellow and 29.02% black. Its hue angle is 54.78°, with 46.56% saturation and 48.43% 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.87:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 1.94.
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.3934 |
Shades
#b5ab42 mixed progressively with black.
Tints
#b5ab42 mixed progressively with white.
Tones
#b5ab42 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b5ab42 {
color: #b5ab42;
}
.bg-b5ab42 {
background-color: #b5ab42;
color: #000000;
}
.border-b5ab42 {
border: 2px solid #b5ab42;
}
:root {
--color-primary: #b5ab42;
--color-primary-rgb: 181 171 66;
--color-primary-hsl: 55 47% 48%;
}
.gradient-b5ab42 {
background: linear-gradient(135deg, #b5ab42, #86b542);
}
.shadow-b5ab42 {
box-shadow: 0 8px 24px rgb(181 171 66 / 0.35);
}
Brass
#b5ab42 rgb(181, 171, 66) hsl(55, 47%, 48%) Brass
#424cb5 rgb(66, 76, 181) hsl(235, 47%, 48%) Ocean Blue
#42b5ab rgb(66, 181, 171) hsl(175, 47%, 48%) Verdigris
#ab42b5 rgb(171, 66, 181) hsl(295, 47%, 48%) Purpureus