#cfaf40 ≈ Metallic Gold
#cfaf40 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 81.18% red, 68.63% green and 25.1% blue; printed in CMYK it uses 0% cyan, 15.46% magenta, 69.08% yellow and 18.82% black. Its hue angle is 46.57°, with 59.83% saturation and 53.14% 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.86:1 (WCAG AAA). The closest named color is Metallic Gold (#d4af37), ΔE 1.58.
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.443 |
Shades
#cfaf40 mixed progressively with black.
Tints
#cfaf40 mixed progressively with white.
Tones
#cfaf40 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cfaf40 {
color: #cfaf40;
}
.bg-cfaf40 {
background-color: #cfaf40;
color: #000000;
}
.border-cfaf40 {
border: 2px solid #cfaf40;
}
:root {
--color-primary: #cfaf40;
--color-primary-rgb: 207 175 64;
--color-primary-hsl: 47 60% 53%;
}
.gradient-cfaf40 {
background: linear-gradient(135deg, #cfaf40, #a8cf40);
}
.shadow-cfaf40 {
box-shadow: 0 8px 24px rgb(207 175 64 / 0.35);
}
Metallic Gold
#cfaf40 rgb(207, 175, 64) hsl(47, 60%, 53%) Metallic Gold
#4060cf rgb(64, 96, 207) hsl(227, 60%, 53%) Royal Blue
#40cfaf rgb(64, 207, 175) hsl(167, 60%, 53%) Medium Aquamarine
#af40cf rgb(175, 64, 207) hsl(287, 60%, 53%) Medium Orchid