#d2c12f ≈ Old Gold
#d2c12f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 82.35% red, 75.69% green and 18.43% blue; printed in CMYK it uses 0% cyan, 8.1% magenta, 77.62% yellow and 17.65% black. Its hue angle is 53.74°, 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 11.41:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 4.22.
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.5205 |
Shades
#d2c12f mixed progressively with black.
Tints
#d2c12f mixed progressively with white.
Tones
#d2c12f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d2c12f {
color: #d2c12f;
}
.bg-d2c12f {
background-color: #d2c12f;
color: #000000;
}
.border-d2c12f {
border: 2px solid #d2c12f;
}
:root {
--color-primary: #d2c12f;
--color-primary-rgb: 210 193 47;
--color-primary-hsl: 54 64% 50%;
}
.gradient-d2c12f {
background: linear-gradient(135deg, #d2c12f, #92d22f);
}
.shadow-d2c12f {
box-shadow: 0 8px 24px rgb(210 193 47 / 0.35);
}
Old Gold
#d2c12f rgb(210, 193, 47) hsl(54, 64%, 50%) Old Gold
#2f40d2 rgb(47, 64, 210) hsl(234, 64%, 50%) Persian Blue
#2fd2c1 rgb(47, 210, 193) hsl(174, 64%, 50%) Turquoise
#c12fd2 rgb(193, 47, 210) hsl(294, 64%, 50%) Medium Orchid