#b1981f ≈ Brass
#b1981f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 69.41% red, 59.61% green and 12.16% blue; printed in CMYK it uses 0% cyan, 14.12% magenta, 82.49% yellow and 30.59% black. Its hue angle is 49.73°, with 70.19% saturation and 40.78% 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 7.38:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 5.27.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #999933 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.319 |
Shades
#b1981f mixed progressively with black.
Tints
#b1981f mixed progressively with white.
Tones
#b1981f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b1981f {
color: #b1981f;
}
.bg-b1981f {
background-color: #b1981f;
color: #000000;
}
.border-b1981f {
border: 2px solid #b1981f;
}
:root {
--color-primary: #b1981f;
--color-primary-rgb: 177 152 31;
--color-primary-hsl: 50 70% 41%;
}
.gradient-b1981f {
background: linear-gradient(135deg, #b1981f, #81b11f);
}
.shadow-b1981f {
box-shadow: 0 8px 24px rgb(177 152 31 / 0.35);
}
Brass
#b1981f rgb(177, 152, 31) hsl(50, 70%, 41%) Brass
#1f38b1 rgb(31, 56, 177) hsl(230, 70%, 41%) Persian Blue
#1fb198 rgb(31, 177, 152) hsl(170, 70%, 41%) Persian Green
#981fb1 rgb(152, 31, 177) hsl(290, 70%, 41%) Dark Orchid