#b5a002 ≈ Brass
#b5a002 is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 70.98% red, 62.75% green and 0.78% blue; printed in CMYK it uses 0% cyan, 11.6% magenta, 98.9% yellow and 29.02% black. Its hue angle is 52.96°, with 97.81% saturation and 35.88% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 7.99:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 4.92.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc9900 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.3497 |
Shades
#b5a002 mixed progressively with black.
Tints
#b5a002 mixed progressively with white.
Tones
#b5a002 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b5a002 {
color: #b5a002;
}
.bg-b5a002 {
background-color: #b5a002;
color: #000000;
}
.border-b5a002 {
border: 2px solid #b5a002;
}
:root {
--color-primary: #b5a002;
--color-primary-rgb: 181 160 2;
--color-primary-hsl: 53 98% 36%;
}
.gradient-b5a002 {
background: linear-gradient(135deg, #b5a002, #70b502);
}
.shadow-b5a002 {
box-shadow: 0 8px 24px rgb(181 160 2 / 0.35);
}
Brass
#b5a002 rgb(181, 160, 2) hsl(53, 98%, 36%) Brass
#0217b5 rgb(2, 23, 181) hsl(233, 98%, 36%) Zaffre
#02b5a0 rgb(2, 181, 160) hsl(173, 98%, 36%) Persian Green
#a002b5 rgb(160, 2, 181) hsl(293, 98%, 36%) Dark Violet