#b4a802 ≈ Brass
#b4a802 is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 70.59% red, 65.88% green and 0.78% blue; printed in CMYK it uses 0% cyan, 6.67% magenta, 98.89% yellow and 29.41% black. Its hue angle is 55.96°, with 97.8% saturation and 35.69% 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.54:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 4.89.
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.3771 |
Shades
#b4a802 mixed progressively with black.
Tints
#b4a802 mixed progressively with white.
Tones
#b4a802 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b4a802 {
color: #b4a802;
}
.bg-b4a802 {
background-color: #b4a802;
color: #000000;
}
.border-b4a802 {
border: 2px solid #b4a802;
}
:root {
--color-primary: #b4a802;
--color-primary-rgb: 180 168 2;
--color-primary-hsl: 56 98% 36%;
}
.gradient-b4a802 {
background: linear-gradient(135deg, #b4a802, #67b402);
}
.shadow-b4a802 {
box-shadow: 0 8px 24px rgb(180 168 2 / 0.35);
}
Brass
#b4a802 rgb(180, 168, 2) hsl(56, 98%, 36%) Brass
#020eb4 rgb(2, 14, 180) hsl(236, 98%, 36%) Zaffre
#02b4a8 rgb(2, 180, 168) hsl(176, 98%, 36%) Light Sea Green
#a802b4 rgb(168, 2, 180) hsl(296, 98%, 36%) Dark Orchid