#b2b71e ≈ Brass
#b2b71e is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 69.8% red, 71.76% green and 11.76% blue; printed in CMYK it uses 2.73% cyan, 0% magenta, 83.61% yellow and 28.24% black. Its hue angle is 61.96°, with 71.83% saturation and 41.76% 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 9.69:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 7.63.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #99cc33 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.4343 |
Shades
#b2b71e mixed progressively with black.
Tints
#b2b71e mixed progressively with white.
Tones
#b2b71e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b2b71e {
color: #b2b71e;
}
.bg-b2b71e {
background-color: #b2b71e;
color: #000000;
}
.border-b2b71e {
border: 2px solid #b2b71e;
}
:root {
--color-primary: #b2b71e;
--color-primary-rgb: 178 183 30;
--color-primary-hsl: 62 72% 42%;
}
.gradient-b2b71e {
background: linear-gradient(135deg, #b2b71e, #65b71e);
}
.shadow-b2b71e {
box-shadow: 0 8px 24px rgb(178 183 30 / 0.35);
}
Brass
#b2b71e rgb(178, 183, 30) hsl(62, 72%, 42%) Brass
#231eb7 rgb(35, 30, 183) hsl(242, 72%, 42%) Zaffre
#1eb2b7 rgb(30, 178, 183) hsl(182, 72%, 42%) Verdigris
#b71eb2 rgb(183, 30, 178) hsl(302, 72%, 42%) Purpureus