#cd950f ≈ Goldenrod
#cd950f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 58.43% green and 5.88% blue; printed in CMYK it uses 0% cyan, 27.32% magenta, 92.68% yellow and 19.61% black. Its hue angle is 42.32°, 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 7.9:1 (WCAG AAA). The closest named color is Goldenrod (#daa520), ΔE 4.64.
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.3451 |
Shades
#cd950f mixed progressively with black.
Tints
#cd950f mixed progressively with white.
Tones
#cd950f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd950f {
color: #cd950f;
}
.bg-cd950f {
background-color: #cd950f;
color: #000000;
}
.border-cd950f {
border: 2px solid #cd950f;
}
:root {
--color-primary: #cd950f;
--color-primary-rgb: 205 149 15;
--color-primary-hsl: 42 86% 43%;
}
.gradient-cd950f {
background: linear-gradient(135deg, #cd950f, #a6cd0f);
}
.shadow-cd950f {
box-shadow: 0 8px 24px rgb(205 149 15 / 0.35);
}
Goldenrod
#cd950f rgb(205, 149, 15) hsl(42, 86%, 43%) Goldenrod
#0f47cd rgb(15, 71, 205) hsl(222, 86%, 43%) Persian Blue
#0fcd95 rgb(15, 205, 149) hsl(162, 86%, 43%) Caribbean Green
#950fcd rgb(149, 15, 205) hsl(282, 86%, 43%) Dark Violet