#cf970a ≈ Goldenrod
#cf970a is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 59.22% green and 3.92% blue; printed in CMYK it uses 0% cyan, 27.05% magenta, 95.17% yellow and 18.82% black. Its hue angle is 42.94°, with 90.78% saturation and 42.55% 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.08:1 (WCAG AAA). The closest named color is Goldenrod (#daa520), ΔE 3.99.
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.3542 |
Shades
#cf970a mixed progressively with black.
Tints
#cf970a mixed progressively with white.
Tones
#cf970a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cf970a {
color: #cf970a;
}
.bg-cf970a {
background-color: #cf970a;
color: #000000;
}
.border-cf970a {
border: 2px solid #cf970a;
}
:root {
--color-primary: #cf970a;
--color-primary-rgb: 207 151 10;
--color-primary-hsl: 43 91% 43%;
}
.gradient-cf970a {
background: linear-gradient(135deg, #cf970a, #a5cf0a);
}
.shadow-cf970a {
box-shadow: 0 8px 24px rgb(207 151 10 / 0.35);
}
Goldenrod
#cf970a rgb(207, 151, 10) hsl(43, 91%, 43%) Goldenrod
#0a42cf rgb(10, 66, 207) hsl(223, 91%, 43%) Persian Blue
#0acf97 rgb(10, 207, 151) hsl(163, 91%, 43%) Caribbean Green
#970acf rgb(151, 10, 207) hsl(283, 91%, 43%) Dark Violet