#b9b02e ≈ Brass
#b9b02e is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 72.55% red, 69.02% green and 18.04% blue; printed in CMYK it uses 0% cyan, 4.86% magenta, 75.14% yellow and 27.45% black. Its hue angle is 56.12°, with 60.17% saturation and 45.29% 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.31:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 4.28.
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.4156 |
Shades
#b9b02e mixed progressively with black.
Tints
#b9b02e mixed progressively with white.
Tones
#b9b02e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b9b02e {
color: #b9b02e;
}
.bg-b9b02e {
background-color: #b9b02e;
color: #000000;
}
.border-b9b02e {
border: 2px solid #b9b02e;
}
:root {
--color-primary: #b9b02e;
--color-primary-rgb: 185 176 46;
--color-primary-hsl: 56 60% 45%;
}
.gradient-b9b02e {
background: linear-gradient(135deg, #b9b02e, #7cb92e);
}
.shadow-b9b02e {
box-shadow: 0 8px 24px rgb(185 176 46 / 0.35);
}
Brass
#b9b02e rgb(185, 176, 46) hsl(56, 60%, 45%) Brass
#2e37b9 rgb(46, 55, 185) hsl(236, 60%, 45%) Persian Blue
#2eb9b0 rgb(46, 185, 176) hsl(176, 60%, 45%) Tiffany Blue
#b02eb9 rgb(176, 46, 185) hsl(296, 60%, 45%) Purpureus