#cfa522 ≈ Metallic Gold
#cfa522 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.71% green and 13.33% blue; printed in CMYK it uses 0% cyan, 20.29% magenta, 83.57% yellow and 18.82% black. Its hue angle is 45.43°, with 71.78% saturation and 47.25% 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.06:1 (WCAG AAA). The closest named color is Metallic Gold (#d4af37), ΔE 2.97.
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.4029 |
Shades
#cfa522 mixed progressively with black.
Tints
#cfa522 mixed progressively with white.
Tones
#cfa522 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cfa522 {
color: #cfa522;
}
.bg-cfa522 {
background-color: #cfa522;
color: #000000;
}
.border-cfa522 {
border: 2px solid #cfa522;
}
:root {
--color-primary: #cfa522;
--color-primary-rgb: 207 165 34;
--color-primary-hsl: 45 72% 47%;
}
.gradient-cfa522 {
background: linear-gradient(135deg, #cfa522, #a2cf22);
}
.shadow-cfa522 {
box-shadow: 0 8px 24px rgb(207 165 34 / 0.35);
}
Metallic Gold
#cfa522 rgb(207, 165, 34) hsl(45, 72%, 47%) Metallic Gold
#224ccf rgb(34, 76, 207) hsl(225, 72%, 47%) Sapphire
#22cfa5 rgb(34, 207, 165) hsl(165, 72%, 47%) Caribbean Green
#a522cf rgb(165, 34, 207) hsl(285, 72%, 47%) Dark Orchid