#cd970f ≈ Goldenrod
#cd970f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 59.22% green and 5.88% blue; printed in CMYK it uses 0% cyan, 26.34% magenta, 92.68% yellow and 19.61% black. Its hue angle is 42.95°, with 86.36% saturation and 43.14% 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.03:1 (WCAG AAA). The closest named color is Goldenrod (#daa520), ΔE 4.03.
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.3515 |
Shades
#cd970f mixed progressively with black.
Tints
#cd970f mixed progressively with white.
Tones
#cd970f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd970f {
color: #cd970f;
}
.bg-cd970f {
background-color: #cd970f;
color: #000000;
}
.border-cd970f {
border: 2px solid #cd970f;
}
:root {
--color-primary: #cd970f;
--color-primary-rgb: 205 151 15;
--color-primary-hsl: 43 86% 43%;
}
.gradient-cd970f {
background: linear-gradient(135deg, #cd970f, #a4cd0f);
}
.shadow-cd970f {
box-shadow: 0 8px 24px rgb(205 151 15 / 0.35);
}
Goldenrod
#cd970f rgb(205, 151, 15) hsl(43, 86%, 43%) Goldenrod
#0f45cd rgb(15, 69, 205) hsl(223, 86%, 43%) Persian Blue
#0fcd97 rgb(15, 205, 151) hsl(163, 86%, 43%) Caribbean Green
#970fcd rgb(151, 15, 205) hsl(283, 86%, 43%) Dark Violet