#c8a41f ≈ Metallic Gold
#c8a41f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 78.43% red, 64.31% green and 12.16% blue; printed in CMYK it uses 0% cyan, 18% magenta, 84.5% yellow and 21.57% black. Its hue angle is 47.22°, with 73.16% saturation and 45.29% 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 8.79:1 (WCAG AAA). The closest named color is Metallic Gold (#d4af37), ΔE 3.32.
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.3893 |
Shades
#c8a41f mixed progressively with black.
Tints
#c8a41f mixed progressively with white.
Tones
#c8a41f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c8a41f {
color: #c8a41f;
}
.bg-c8a41f {
background-color: #c8a41f;
color: #000000;
}
.border-c8a41f {
border: 2px solid #c8a41f;
}
:root {
--color-primary: #c8a41f;
--color-primary-rgb: 200 164 31;
--color-primary-hsl: 47 73% 45%;
}
.gradient-c8a41f {
background: linear-gradient(135deg, #c8a41f, #97c81f);
}
.shadow-c8a41f {
box-shadow: 0 8px 24px rgb(200 164 31 / 0.35);
}
Metallic Gold
#c8a41f rgb(200, 164, 31) hsl(47, 73%, 45%) Metallic Gold
#1f43c8 rgb(31, 67, 200) hsl(227, 73%, 45%) Persian Blue
#1fc8a4 rgb(31, 200, 164) hsl(167, 73%, 45%) Caribbean Green
#a41fc8 rgb(164, 31, 200) hsl(287, 73%, 45%) Dark Orchid