#d7b42e ≈ Metallic Gold
#d7b42e is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 84.31% red, 70.59% green and 18.04% blue; printed in CMYK it uses 0% cyan, 16.28% magenta, 78.6% yellow and 15.69% black. Its hue angle is 47.57°, with 67.87% saturation and 51.18% 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 10.46:1 (WCAG AAA). The closest named color is Metallic Gold (#d4af37), ΔE 1.96.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cccc33 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.4729 |
Shades
#d7b42e mixed progressively with black.
Tints
#d7b42e mixed progressively with white.
Tones
#d7b42e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d7b42e {
color: #d7b42e;
}
.bg-d7b42e {
background-color: #d7b42e;
color: #000000;
}
.border-d7b42e {
border: 2px solid #d7b42e;
}
:root {
--color-primary: #d7b42e;
--color-primary-rgb: 215 180 46;
--color-primary-hsl: 48 68% 51%;
}
.gradient-d7b42e {
background: linear-gradient(135deg, #d7b42e, #a6d72e);
}
.shadow-d7b42e {
box-shadow: 0 8px 24px rgb(215 180 46 / 0.35);
}
Metallic Gold
#d7b42e rgb(215, 180, 46) hsl(48, 68%, 51%) Metallic Gold
#2e51d7 rgb(46, 81, 215) hsl(228, 68%, 51%) Sapphire
#2ed7b4 rgb(46, 215, 180) hsl(168, 68%, 51%) Medium Aquamarine
#b42ed7 rgb(180, 46, 215) hsl(288, 68%, 51%) Dark Orchid