#c5a01f ≈ Metallic Gold
#c5a01f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 77.25% red, 62.75% green and 12.16% blue; printed in CMYK it uses 0% cyan, 18.78% magenta, 84.26% yellow and 22.75% black. Its hue angle is 46.63°, with 72.81% saturation and 44.71% 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.42:1 (WCAG AAA). The closest named color is Metallic Gold (#d4af37), ΔE 4.29.
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.3711 |
Shades
#c5a01f mixed progressively with black.
Tints
#c5a01f mixed progressively with white.
Tones
#c5a01f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c5a01f {
color: #c5a01f;
}
.bg-c5a01f {
background-color: #c5a01f;
color: #000000;
}
.border-c5a01f {
border: 2px solid #c5a01f;
}
:root {
--color-primary: #c5a01f;
--color-primary-rgb: 197 160 31;
--color-primary-hsl: 47 73% 45%;
}
.gradient-c5a01f {
background: linear-gradient(135deg, #c5a01f, #97c51f);
}
.shadow-c5a01f {
box-shadow: 0 8px 24px rgb(197 160 31 / 0.35);
}
Metallic Gold
#c5a01f rgb(197, 160, 31) hsl(47, 73%, 45%) Metallic Gold
#1f44c5 rgb(31, 68, 197) hsl(227, 73%, 45%) Persian Blue
#1fc5a0 rgb(31, 197, 160) hsl(167, 73%, 45%) Caribbean Green
#a01fc5 rgb(160, 31, 197) hsl(287, 73%, 45%) Dark Orchid