#ba9012 ≈ Dark Goldenrod
#ba9012 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 72.94% red, 56.47% green and 7.06% blue; printed in CMYK it uses 0% cyan, 22.58% magenta, 90.32% yellow and 27.06% black. Its hue angle is 45°, with 82.35% saturation and 40% 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 7.09:1 (WCAG AAA). The closest named color is Dark Goldenrod (#b8860b), ΔE 3.81.
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.3043 |
Shades
#ba9012 mixed progressively with black.
Tints
#ba9012 mixed progressively with white.
Tones
#ba9012 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba9012 {
color: #ba9012;
}
.bg-ba9012 {
background-color: #ba9012;
color: #000000;
}
.border-ba9012 {
border: 2px solid #ba9012;
}
:root {
--color-primary: #ba9012;
--color-primary-rgb: 186 144 18;
--color-primary-hsl: 45 82% 40%;
}
.gradient-ba9012 {
background: linear-gradient(135deg, #ba9012, #90ba12);
}
.shadow-ba9012 {
box-shadow: 0 8px 24px rgb(186 144 18 / 0.35);
}
Dark Goldenrod
#ba9012 rgb(186, 144, 18) hsl(45, 82%, 40%) Dark Goldenrod
#123cba rgb(18, 60, 186) hsl(225, 82%, 40%) Persian Blue
#12ba90 rgb(18, 186, 144) hsl(165, 82%, 40%) Mint
#9012ba rgb(144, 18, 186) hsl(285, 82%, 40%) Dark Violet