#cf980b ≈ Goldenrod
#cf980b 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.61% green and 4.31% blue; printed in CMYK it uses 0% cyan, 26.57% magenta, 94.69% yellow and 18.82% black. Its hue angle is 43.16°, with 89.91% saturation and 42.75% 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.15:1 (WCAG AAA). The closest named color is Goldenrod (#daa520), ΔE 3.69.
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.3575 |
Shades
#cf980b mixed progressively with black.
Tints
#cf980b mixed progressively with white.
Tones
#cf980b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cf980b {
color: #cf980b;
}
.bg-cf980b {
background-color: #cf980b;
color: #000000;
}
.border-cf980b {
border: 2px solid #cf980b;
}
:root {
--color-primary: #cf980b;
--color-primary-rgb: 207 152 11;
--color-primary-hsl: 43 90% 43%;
}
.gradient-cf980b {
background: linear-gradient(135deg, #cf980b, #a4cf0b);
}
.shadow-cf980b {
box-shadow: 0 8px 24px rgb(207 152 11 / 0.35);
}
Goldenrod
#cf980b rgb(207, 152, 11) hsl(43, 90%, 43%) Goldenrod
#0b42cf rgb(11, 66, 207) hsl(223, 90%, 43%) Persian Blue
#0bcf98 rgb(11, 207, 152) hsl(163, 90%, 43%) Caribbean Green
#980bcf rgb(152, 11, 207) hsl(283, 90%, 43%) Dark Violet