#d7c242 ≈ Old Gold
#d7c242 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 84.31% red, 76.08% green and 25.88% blue; printed in CMYK it uses 0% cyan, 9.77% magenta, 69.3% yellow and 15.69% black. Its hue angle is 51.54°, with 65.07% saturation and 55.1% 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 11.68:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 3.51.
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.5342 |
Shades
#d7c242 mixed progressively with black.
Tints
#d7c242 mixed progressively with white.
Tones
#d7c242 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d7c242 {
color: #d7c242;
}
.bg-d7c242 {
background-color: #d7c242;
color: #000000;
}
.border-d7c242 {
border: 2px solid #d7c242;
}
:root {
--color-primary: #d7c242;
--color-primary-rgb: 215 194 66;
--color-primary-hsl: 52 65% 55%;
}
.gradient-d7c242 {
background: linear-gradient(135deg, #d7c242, #a2d742);
}
.shadow-d7c242 {
box-shadow: 0 8px 24px rgb(215 194 66 / 0.35);
}
Old Gold
#d7c242 rgb(215, 194, 66) hsl(52, 65%, 55%) Old Gold
#4257d7 rgb(66, 87, 215) hsl(232, 65%, 55%) Iris
#42d7c2 rgb(66, 215, 194) hsl(172, 65%, 55%) Turquoise
#c242d7 rgb(194, 66, 215) hsl(292, 65%, 55%) Medium Orchid