#9e971b ≈ Brass
#9e971b is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 61.96% red, 59.22% green and 10.59% blue; printed in CMYK it uses 0% cyan, 4.43% magenta, 82.91% yellow and 38.04% black. Its hue angle is 56.79°, with 70.81% saturation and 36.27% 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 6.9:1 (WCAG AA). The closest named color is Brass (#b5a642), ΔE 6.08.
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.2948 |
Shades
#9e971b mixed progressively with black.
Tints
#9e971b mixed progressively with white.
Tones
#9e971b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-9e971b {
color: #9e971b;
}
.bg-9e971b {
background-color: #9e971b;
color: #000000;
}
.border-9e971b {
border: 2px solid #9e971b;
}
:root {
--color-primary: #9e971b;
--color-primary-rgb: 158 151 27;
--color-primary-hsl: 57 71% 36%;
}
.gradient-9e971b {
background: linear-gradient(135deg, #9e971b, #639e1b);
}
.shadow-9e971b {
box-shadow: 0 8px 24px rgb(158 151 27 / 0.35);
}
Brass
#9e971b rgb(158, 151, 27) hsl(57, 71%, 36%) Brass
#1b229e rgb(27, 34, 158) hsl(237, 71%, 36%) Imperial Blue
#1b9e97 rgb(27, 158, 151) hsl(177, 71%, 36%) Persian Green
#971b9e rgb(151, 27, 158) hsl(297, 71%, 36%) Dark Magenta