#cba012 ≈ Goldenrod
#cba012 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 79.61% red, 62.75% green and 7.06% blue; printed in CMYK it uses 0% cyan, 21.18% magenta, 91.13% yellow and 20.39% black. Its hue angle is 46.05°, with 83.71% saturation and 43.33% 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.58:1 (WCAG AAA). The closest named color is Goldenrod (#daa520), ΔE 3.45.
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.3788 |
Shades
#cba012 mixed progressively with black.
Tints
#cba012 mixed progressively with white.
Tones
#cba012 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cba012 {
color: #cba012;
}
.bg-cba012 {
background-color: #cba012;
color: #000000;
}
.border-cba012 {
border: 2px solid #cba012;
}
:root {
--color-primary: #cba012;
--color-primary-rgb: 203 160 18;
--color-primary-hsl: 46 84% 43%;
}
.gradient-cba012 {
background: linear-gradient(135deg, #cba012, #9acb12);
}
.shadow-cba012 {
box-shadow: 0 8px 24px rgb(203 160 18 / 0.35);
}
Goldenrod
#cba012 rgb(203, 160, 18) hsl(46, 84%, 43%) Goldenrod
#123dcb rgb(18, 61, 203) hsl(226, 84%, 43%) Persian Blue
#12cba0 rgb(18, 203, 160) hsl(166, 84%, 43%) Caribbean Green
#a012cb rgb(160, 18, 203) hsl(286, 84%, 43%) Dark Violet