#cfa01f ≈ Goldenrod
#cfa01f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 81.18% red, 62.75% green and 12.16% blue; printed in CMYK it uses 0% cyan, 22.71% magenta, 85.02% yellow and 18.82% black. Its hue angle is 43.98°, with 73.95% saturation and 46.67% 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 brand accents. Black text on this color reaches a contrast ratio of 8.7:1 (WCAG AAA). The closest named color is Goldenrod (#daa520), ΔE 2.31.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc9933 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.3851 |
Shades
#cfa01f mixed progressively with black.
Tints
#cfa01f mixed progressively with white.
Tones
#cfa01f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cfa01f {
color: #cfa01f;
}
.bg-cfa01f {
background-color: #cfa01f;
color: #000000;
}
.border-cfa01f {
border: 2px solid #cfa01f;
}
:root {
--color-primary: #cfa01f;
--color-primary-rgb: 207 160 31;
--color-primary-hsl: 44 74% 47%;
}
.gradient-cfa01f {
background: linear-gradient(135deg, #cfa01f, #a6cf1f);
}
.shadow-cfa01f {
box-shadow: 0 8px 24px rgb(207 160 31 / 0.35);
}
Goldenrod
#cfa01f rgb(207, 160, 31) hsl(44, 74%, 47%) Goldenrod
#1f4ecf rgb(31, 78, 207) hsl(224, 74%, 47%) Sapphire
#1fcfa0 rgb(31, 207, 160) hsl(164, 74%, 47%) Caribbean Green
#a01fcf rgb(160, 31, 207) hsl(284, 74%, 47%) Dark Orchid