#ccab2f ≈ Metallic Gold
#ccab2f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 67.06% green and 18.43% blue; printed in CMYK it uses 0% cyan, 16.18% magenta, 76.96% yellow and 20% black. Its hue angle is 47.39°, with 62.55% saturation and 49.22% 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.43:1 (WCAG AAA). The closest named color is Metallic Gold (#d4af37), ΔE 1.79.
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.4217 |
Shades
#ccab2f mixed progressively with black.
Tints
#ccab2f mixed progressively with white.
Tones
#ccab2f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ccab2f {
color: #ccab2f;
}
.bg-ccab2f {
background-color: #ccab2f;
color: #000000;
}
.border-ccab2f {
border: 2px solid #ccab2f;
}
:root {
--color-primary: #ccab2f;
--color-primary-rgb: 204 171 47;
--color-primary-hsl: 47 63% 49%;
}
.gradient-ccab2f {
background: linear-gradient(135deg, #ccab2f, #9fcc2f);
}
.shadow-ccab2f {
box-shadow: 0 8px 24px rgb(204 171 47 / 0.35);
}
Metallic Gold
#ccab2f rgb(204, 171, 47) hsl(47, 63%, 49%) Metallic Gold
#2f50cc rgb(47, 80, 204) hsl(227, 63%, 49%) Sapphire
#2fccab rgb(47, 204, 171) hsl(167, 63%, 49%) Medium Aquamarine
#ab2fcc rgb(171, 47, 204) hsl(287, 63%, 49%) Dark Orchid