#ccab2d ≈ Metallic Gold
#ccab2d 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 17.65% blue; printed in CMYK it uses 0% cyan, 16.18% magenta, 77.94% yellow and 20% black. Its hue angle is 47.55°, with 63.86% saturation and 48.82% 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.85.
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.4215 |
Shades
#ccab2d mixed progressively with black.
Tints
#ccab2d mixed progressively with white.
Tones
#ccab2d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ccab2d {
color: #ccab2d;
}
.bg-ccab2d {
background-color: #ccab2d;
color: #000000;
}
.border-ccab2d {
border: 2px solid #ccab2d;
}
:root {
--color-primary: #ccab2d;
--color-primary-rgb: 204 171 45;
--color-primary-hsl: 48 64% 49%;
}
.gradient-ccab2d {
background: linear-gradient(135deg, #ccab2d, #9dcc2d);
}
.shadow-ccab2d {
box-shadow: 0 8px 24px rgb(204 171 45 / 0.35);
}
Metallic Gold
#ccab2d rgb(204, 171, 45) hsl(48, 64%, 49%) Metallic Gold
#2d4ecc rgb(45, 78, 204) hsl(228, 64%, 49%) Sapphire
#2dccab rgb(45, 204, 171) hsl(168, 64%, 49%) Medium Aquamarine
#ab2dcc rgb(171, 45, 204) hsl(288, 64%, 49%) Dark Orchid