#b5a702 ≈ Brass
#b5a702 is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 70.98% red, 65.49% green and 0.78% blue; printed in CMYK it uses 0% cyan, 7.73% magenta, 98.9% yellow and 29.02% black. Its hue angle is 55.31°, 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 8.49:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 4.79.
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.3747 |
Shades
#b5a702 mixed progressively with black.
Tints
#b5a702 mixed progressively with white.
Tones
#b5a702 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b5a702 {
color: #b5a702;
}
.bg-b5a702 {
background-color: #b5a702;
color: #000000;
}
.border-b5a702 {
border: 2px solid #b5a702;
}
:root {
--color-primary: #b5a702;
--color-primary-rgb: 181 167 2;
--color-primary-hsl: 55 98% 36%;
}
.gradient-b5a702 {
background: linear-gradient(135deg, #b5a702, #69b502);
}
.shadow-b5a702 {
box-shadow: 0 8px 24px rgb(181 167 2 / 0.35);
}
Brass
#b5a702 rgb(181, 167, 2) hsl(55, 98%, 36%) Brass
#0210b5 rgb(2, 16, 181) hsl(235, 98%, 36%) Zaffre
#02b5a7 rgb(2, 181, 167) hsl(175, 98%, 36%) Light Sea Green
#a702b5 rgb(167, 2, 181) hsl(295, 98%, 36%) Dark Orchid