#cfa002 ≈ Goldenrod
#cfa002 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 62.75% green and 0.78% blue; printed in CMYK it uses 0% cyan, 22.71% magenta, 99.03% yellow and 18.82% black. Its hue angle is 46.24°, with 98.09% saturation and 40.98% 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.68:1 (WCAG AAA). The closest named color is Goldenrod (#daa520), ΔE 2.72.
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.3841 |
Shades
#cfa002 mixed progressively with black.
Tints
#cfa002 mixed progressively with white.
Tones
#cfa002 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cfa002 {
color: #cfa002;
}
.bg-cfa002 {
background-color: #cfa002;
color: #000000;
}
.border-cfa002 {
border: 2px solid #cfa002;
}
:root {
--color-primary: #cfa002;
--color-primary-rgb: 207 160 2;
--color-primary-hsl: 46 98% 41%;
}
.gradient-cfa002 {
background: linear-gradient(135deg, #cfa002, #98cf02);
}
.shadow-cfa002 {
box-shadow: 0 8px 24px rgb(207 160 2 / 0.35);
}
Goldenrod
#cfa002 rgb(207, 160, 2) hsl(46, 98%, 41%) Goldenrod
#0231cf rgb(2, 49, 207) hsl(226, 98%, 41%) Persian Blue
#02cfa0 rgb(2, 207, 160) hsl(166, 98%, 41%) Caribbean Green
#a002cf rgb(160, 2, 207) hsl(286, 98%, 41%) Dark Violet