#b6ab40 ≈ Brass
#b6ab40 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 25.1% blue; printed in CMYK it uses 0% cyan, 6.04% magenta, 64.84% yellow and 28.63% black. Its hue angle is 54.41°, with 47.97% saturation and 48.24% 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.89:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 1.86.
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.3944 |
Shades
#b6ab40 mixed progressively with black.
Tints
#b6ab40 mixed progressively with white.
Tones
#b6ab40 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b6ab40 {
color: #b6ab40;
}
.bg-b6ab40 {
background-color: #b6ab40;
color: #000000;
}
.border-b6ab40 {
border: 2px solid #b6ab40;
}
:root {
--color-primary: #b6ab40;
--color-primary-rgb: 182 171 64;
--color-primary-hsl: 54 48% 48%;
}
.gradient-b6ab40 {
background: linear-gradient(135deg, #b6ab40, #86b640);
}
.shadow-b6ab40 {
box-shadow: 0 8px 24px rgb(182 171 64 / 0.35);
}
Brass
#b6ab40 rgb(182, 171, 64) hsl(54, 48%, 48%) Brass
#404bb6 rgb(64, 75, 182) hsl(234, 48%, 48%) Ocean Blue
#40b6ab rgb(64, 182, 171) hsl(174, 48%, 48%) Light Sea Green
#ab40b6 rgb(171, 64, 182) hsl(294, 48%, 48%) Purpureus