#c8a42b ≈ Metallic Gold
#c8a42b 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 16.86% blue; printed in CMYK it uses 0% cyan, 18% magenta, 78.5% yellow and 21.57% black. Its hue angle is 46.24°, with 64.61% saturation and 47.65% 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.8:1 (WCAG AAA). The closest named color is Metallic Gold (#d4af37), ΔE 3.14.
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.39 |
Shades
#c8a42b mixed progressively with black.
Tints
#c8a42b mixed progressively with white.
Tones
#c8a42b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c8a42b {
color: #c8a42b;
}
.bg-c8a42b {
background-color: #c8a42b;
color: #000000;
}
.border-c8a42b {
border: 2px solid #c8a42b;
}
:root {
--color-primary: #c8a42b;
--color-primary-rgb: 200 164 43;
--color-primary-hsl: 46 65% 48%;
}
.gradient-c8a42b {
background: linear-gradient(135deg, #c8a42b, #9ec82b);
}
.shadow-c8a42b {
box-shadow: 0 8px 24px rgb(200 164 43 / 0.35);
}
Metallic Gold
#c8a42b rgb(200, 164, 43) hsl(46, 65%, 48%) Metallic Gold
#2b4fc8 rgb(43, 79, 200) hsl(226, 65%, 48%) Sapphire
#2bc8a4 rgb(43, 200, 164) hsl(166, 65%, 48%) Caribbean Green
#a42bc8 rgb(164, 43, 200) hsl(286, 65%, 48%) Dark Orchid