#cfa804 ≈ Metallic Gold
#cfa804 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 65.88% green and 1.57% blue; printed in CMYK it uses 0% cyan, 18.84% magenta, 98.07% yellow and 18.82% black. Its hue angle is 48.47°, 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.26:1 (WCAG AAA). The closest named color is Metallic Gold (#d4af37), ΔE 3.09.
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.4128 |
Shades
#cfa804 mixed progressively with black.
Tints
#cfa804 mixed progressively with white.
Tones
#cfa804 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cfa804 {
color: #cfa804;
}
.bg-cfa804 {
background-color: #cfa804;
color: #000000;
}
.border-cfa804 {
border: 2px solid #cfa804;
}
:root {
--color-primary: #cfa804;
--color-primary-rgb: 207 168 4;
--color-primary-hsl: 48 96% 41%;
}
.gradient-cfa804 {
background: linear-gradient(135deg, #cfa804, #91cf04);
}
.shadow-cfa804 {
box-shadow: 0 8px 24px rgb(207 168 4 / 0.35);
}
Metallic Gold
#cfa804 rgb(207, 168, 4) hsl(48, 96%, 41%) Metallic Gold
#042bcf rgb(4, 43, 207) hsl(228, 96%, 41%) Persian Blue
#04cfa8 rgb(4, 207, 168) hsl(168, 96%, 41%) Caribbean Green
#a804cf rgb(168, 4, 207) hsl(288, 96%, 41%) Dark Orchid