#b2af26 ≈ Brass
#b2af26 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 69.8% red, 68.63% green and 14.9% blue; printed in CMYK it uses 0% cyan, 1.69% magenta, 78.65% yellow and 30.2% black. Its hue angle is 58.71°, with 64.81% saturation and 42.35% 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 9.05:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 5.09.
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.4026 |
Shades
#b2af26 mixed progressively with black.
Tints
#b2af26 mixed progressively with white.
Tones
#b2af26 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b2af26 {
color: #b2af26;
}
.bg-b2af26 {
background-color: #b2af26;
color: #000000;
}
.border-b2af26 {
border: 2px solid #b2af26;
}
:root {
--color-primary: #b2af26;
--color-primary-rgb: 178 175 38;
--color-primary-hsl: 59 65% 42%;
}
.gradient-b2af26 {
background: linear-gradient(135deg, #b2af26, #6fb226);
}
.shadow-b2af26 {
box-shadow: 0 8px 24px rgb(178 175 38 / 0.35);
}
Brass
#b2af26 rgb(178, 175, 38) hsl(59, 65%, 42%) Brass
#2629b2 rgb(38, 41, 178) hsl(239, 65%, 42%) Egyptian Blue
#26b2af rgb(38, 178, 175) hsl(179, 65%, 42%) Verdigris
#af26b2 rgb(175, 38, 178) hsl(299, 65%, 42%) Dark Orchid