#b0a22a ≈ Brass
#b0a22a is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 69.02% red, 63.53% green and 16.47% blue; printed in CMYK it uses 0% cyan, 7.95% magenta, 76.14% yellow and 30.98% black. Its hue angle is 53.73°, with 61.47% saturation and 42.75% 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.05:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 2.6.
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.3524 |
Shades
#b0a22a mixed progressively with black.
Tints
#b0a22a mixed progressively with white.
Tones
#b0a22a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b0a22a {
color: #b0a22a;
}
.bg-b0a22a {
background-color: #b0a22a;
color: #000000;
}
.border-b0a22a {
border: 2px solid #b0a22a;
}
:root {
--color-primary: #b0a22a;
--color-primary-rgb: 176 162 42;
--color-primary-hsl: 54 61% 43%;
}
.gradient-b0a22a {
background: linear-gradient(135deg, #b0a22a, #7bb02a);
}
.shadow-b0a22a {
box-shadow: 0 8px 24px rgb(176 162 42 / 0.35);
}
Brass
#b0a22a rgb(176, 162, 42) hsl(54, 61%, 43%) Brass
#2a38b0 rgb(42, 56, 176) hsl(234, 61%, 43%) Persian Blue
#2ab0a2 rgb(42, 176, 162) hsl(174, 61%, 43%) Light Sea Green
#a22ab0 rgb(162, 42, 176) hsl(294, 61%, 43%) Dark Orchid