#b2ab02 ≈ Brass
#b2ab02 is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 69.8% red, 67.06% green and 0.78% blue; printed in CMYK it uses 0% cyan, 3.93% magenta, 98.88% yellow and 30.2% black. Its hue angle is 57.61°, with 97.78% saturation and 35.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 call-to-action buttons. Black text on this color reaches a contrast ratio of 8.72:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 5.42.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #999900 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.386 |
Shades
#b2ab02 mixed progressively with black.
Tints
#b2ab02 mixed progressively with white.
Tones
#b2ab02 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b2ab02 {
color: #b2ab02;
}
.bg-b2ab02 {
background-color: #b2ab02;
color: #000000;
}
.border-b2ab02 {
border: 2px solid #b2ab02;
}
:root {
--color-primary: #b2ab02;
--color-primary-rgb: 178 171 2;
--color-primary-hsl: 58 98% 35%;
}
.gradient-b2ab02 {
background: linear-gradient(135deg, #b2ab02, #61b202);
}
.shadow-b2ab02 {
box-shadow: 0 8px 24px rgb(178 171 2 / 0.35);
}
Brass
#b2ab02 rgb(178, 171, 2) hsl(58, 98%, 35%) Brass
#0209b2 rgb(2, 9, 178) hsl(238, 98%, 35%) Zaffre
#02b2ab rgb(2, 178, 171) hsl(178, 98%, 35%) Light Sea Green
#ab02b2 rgb(171, 2, 178) hsl(298, 98%, 35%) Dark Orchid