#d2af2f ≈ Metallic Gold
#d2af2f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 82.35% red, 68.63% green and 18.43% blue; printed in CMYK it uses 0% cyan, 16.67% magenta, 77.62% yellow and 17.65% black. Its hue angle is 47.12°, with 64.43% saturation and 50.39% 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.91:1 (WCAG AAA). The closest named color is Metallic Gold (#d4af37), ΔE 1.03.
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.4457 |
Shades
#d2af2f mixed progressively with black.
Tints
#d2af2f mixed progressively with white.
Tones
#d2af2f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d2af2f {
color: #d2af2f;
}
.bg-d2af2f {
background-color: #d2af2f;
color: #000000;
}
.border-d2af2f {
border: 2px solid #d2af2f;
}
:root {
--color-primary: #d2af2f;
--color-primary-rgb: 210 175 47;
--color-primary-hsl: 47 64% 50%;
}
.gradient-d2af2f {
background: linear-gradient(135deg, #d2af2f, #a3d22f);
}
.shadow-d2af2f {
box-shadow: 0 8px 24px rgb(210 175 47 / 0.35);
}
Metallic Gold
#d2af2f rgb(210, 175, 47) hsl(47, 64%, 50%) Metallic Gold
#2f52d2 rgb(47, 82, 210) hsl(227, 64%, 50%) Sapphire
#2fd2af rgb(47, 210, 175) hsl(167, 64%, 50%) Medium Aquamarine
#af2fd2 rgb(175, 47, 210) hsl(287, 64%, 50%) Dark Orchid