#bbaf42 ≈ Brass
#bbaf42 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 73.33% red, 68.63% green and 25.88% blue; printed in CMYK it uses 0% cyan, 6.42% magenta, 64.71% yellow and 26.67% black. Its hue angle is 54.05°, with 47.83% saturation and 49.61% 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.32:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 2.75.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc9933 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.4162 |
Shades
#bbaf42 mixed progressively with black.
Tints
#bbaf42 mixed progressively with white.
Tones
#bbaf42 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-bbaf42 {
color: #bbaf42;
}
.bg-bbaf42 {
background-color: #bbaf42;
color: #000000;
}
.border-bbaf42 {
border: 2px solid #bbaf42;
}
:root {
--color-primary: #bbaf42;
--color-primary-rgb: 187 175 66;
--color-primary-hsl: 54 48% 50%;
}
.gradient-bbaf42 {
background: linear-gradient(135deg, #bbaf42, #8bbb42);
}
.shadow-bbaf42 {
box-shadow: 0 8px 24px rgb(187 175 66 / 0.35);
}
Brass
#bbaf42 rgb(187, 175, 66) hsl(54, 48%, 50%) Brass
#424ebb rgb(66, 78, 187) hsl(234, 48%, 50%) Ocean Blue
#42bbaf rgb(66, 187, 175) hsl(174, 48%, 50%) Tiffany Blue
#af42bb rgb(175, 66, 187) hsl(294, 48%, 50%) Purpureus