#baa70f ≈ Brass
#baa70f is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 72.94% red, 65.49% green and 5.88% blue; printed in CMYK it uses 0% cyan, 10.22% magenta, 91.94% yellow and 27.06% black. Its hue angle is 53.33°, with 85.07% saturation and 39.41% 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.62:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 4.57.
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.3811 |
Shades
#baa70f mixed progressively with black.
Tints
#baa70f mixed progressively with white.
Tones
#baa70f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-baa70f {
color: #baa70f;
}
.bg-baa70f {
background-color: #baa70f;
color: #000000;
}
.border-baa70f {
border: 2px solid #baa70f;
}
:root {
--color-primary: #baa70f;
--color-primary-rgb: 186 167 15;
--color-primary-hsl: 53 85% 39%;
}
.gradient-baa70f {
background: linear-gradient(135deg, #baa70f, #78ba0f);
}
.shadow-baa70f {
box-shadow: 0 8px 24px rgb(186 167 15 / 0.35);
}
Brass
#baa70f rgb(186, 167, 15) hsl(53, 85%, 39%) Brass
#0f22ba rgb(15, 34, 186) hsl(233, 85%, 39%) Zaffre
#0fbaa7 rgb(15, 186, 167) hsl(173, 85%, 39%) Light Sea Green
#a70fba rgb(167, 15, 186) hsl(293, 85%, 39%) Dark Orchid