#cb970c ≈ Goldenrod
#cb970c is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 79.61% red, 59.22% green and 4.71% blue; printed in CMYK it uses 0% cyan, 25.62% magenta, 94.09% yellow and 20.39% black. Its hue angle is 43.66°, with 88.84% saturation and 42.16% 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.97:1 (WCAG AAA). The closest named color is Goldenrod (#daa520), ΔE 4.11.
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.3486 |
Shades
#cb970c mixed progressively with black.
Tints
#cb970c mixed progressively with white.
Tones
#cb970c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cb970c {
color: #cb970c;
}
.bg-cb970c {
background-color: #cb970c;
color: #000000;
}
.border-cb970c {
border: 2px solid #cb970c;
}
:root {
--color-primary: #cb970c;
--color-primary-rgb: 203 151 12;
--color-primary-hsl: 44 89% 42%;
}
.gradient-cb970c {
background: linear-gradient(135deg, #cb970c, #a0cb0c);
}
.shadow-cb970c {
box-shadow: 0 8px 24px rgb(203 151 12 / 0.35);
}
Goldenrod
#cb970c rgb(203, 151, 12) hsl(44, 89%, 42%) Goldenrod
#0c40cb rgb(12, 64, 203) hsl(224, 89%, 42%) Persian Blue
#0ccb97 rgb(12, 203, 151) hsl(164, 89%, 42%) Caribbean Green
#970ccb rgb(151, 12, 203) hsl(284, 89%, 42%) Dark Violet