#cfa42f ≈ Goldenrod
#cfa42f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 81.18% red, 64.31% green and 18.43% blue; printed in CMYK it uses 0% cyan, 20.77% magenta, 77.29% yellow and 18.82% black. Its hue angle is 43.88°, with 62.99% saturation and 49.8% 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 9:1 (WCAG AAA). The closest named color is Goldenrod (#daa520), ΔE 2.8.
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.4002 |
Shades
#cfa42f mixed progressively with black.
Tints
#cfa42f mixed progressively with white.
Tones
#cfa42f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cfa42f {
color: #cfa42f;
}
.bg-cfa42f {
background-color: #cfa42f;
color: #000000;
}
.border-cfa42f {
border: 2px solid #cfa42f;
}
:root {
--color-primary: #cfa42f;
--color-primary-rgb: 207 164 47;
--color-primary-hsl: 44 63% 50%;
}
.gradient-cfa42f {
background: linear-gradient(135deg, #cfa42f, #aacf2f);
}
.shadow-cfa42f {
box-shadow: 0 8px 24px rgb(207 164 47 / 0.35);
}
Goldenrod
#cfa42f rgb(207, 164, 47) hsl(44, 63%, 50%) Goldenrod
#2f5acf rgb(47, 90, 207) hsl(224, 63%, 50%) Sapphire
#2fcfa4 rgb(47, 207, 164) hsl(164, 63%, 50%) Caribbean Green
#a42fcf rgb(164, 47, 207) hsl(284, 63%, 50%) Dark Orchid