#cfab04 ≈ Metallic Gold
#cfab04 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 67.06% green and 1.57% blue; printed in CMYK it uses 0% cyan, 17.39% magenta, 98.07% yellow and 18.82% black. Its hue angle is 49.36°, with 96.21% saturation and 41.37% 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 9.48:1 (WCAG AAA). The closest named color is Metallic Gold (#d4af37), ΔE 3.01.
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.424 |
Shades
#cfab04 mixed progressively with black.
Tints
#cfab04 mixed progressively with white.
Tones
#cfab04 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cfab04 {
color: #cfab04;
}
.bg-cfab04 {
background-color: #cfab04;
color: #000000;
}
.border-cfab04 {
border: 2px solid #cfab04;
}
:root {
--color-primary: #cfab04;
--color-primary-rgb: 207 171 4;
--color-primary-hsl: 49 96% 41%;
}
.gradient-cfab04 {
background: linear-gradient(135deg, #cfab04, #8dcf04);
}
.shadow-cfab04 {
box-shadow: 0 8px 24px rgb(207 171 4 / 0.35);
}
Metallic Gold
#cfab04 rgb(207, 171, 4) hsl(49, 96%, 41%) Metallic Gold
#0428cf rgb(4, 40, 207) hsl(229, 96%, 41%) Persian Blue
#04cfab rgb(4, 207, 171) hsl(169, 96%, 41%) Caribbean Green
#ab04cf rgb(171, 4, 207) hsl(289, 96%, 41%) Dark Orchid