#ba9934 ≈ Brass
#ba9934 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 72.94% red, 60% green and 20.39% blue; printed in CMYK it uses 0% cyan, 17.74% magenta, 72.04% yellow and 27.06% black. Its hue angle is 45.22°, with 56.3% saturation and 46.67% 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 7.69:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 6.18.
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.3347 |
Shades
#ba9934 mixed progressively with black.
Tints
#ba9934 mixed progressively with white.
Tones
#ba9934 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba9934 {
color: #ba9934;
}
.bg-ba9934 {
background-color: #ba9934;
color: #000000;
}
.border-ba9934 {
border: 2px solid #ba9934;
}
:root {
--color-primary: #ba9934;
--color-primary-rgb: 186 153 52;
--color-primary-hsl: 45 56% 47%;
}
.gradient-ba9934 {
background: linear-gradient(135deg, #ba9934, #98ba34);
}
.shadow-ba9934 {
box-shadow: 0 8px 24px rgb(186 153 52 / 0.35);
}
Brass
#ba9934 rgb(186, 153, 52) hsl(45, 56%, 47%) Brass
#3455ba rgb(52, 85, 186) hsl(225, 56%, 47%) Sapphire
#34ba99 rgb(52, 186, 153) hsl(165, 56%, 47%) Mint
#9934ba rgb(153, 52, 186) hsl(285, 56%, 47%) Dark Orchid