#d5c12f ≈ Old Gold
#d5c12f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 83.53% red, 75.69% green and 18.43% blue; printed in CMYK it uses 0% cyan, 9.39% magenta, 77.93% yellow and 16.47% black. Its hue angle is 52.77°, with 66.4% saturation and 50.98% 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.5:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 3.91.
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.5249 |
Shades
#d5c12f mixed progressively with black.
Tints
#d5c12f mixed progressively with white.
Tones
#d5c12f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d5c12f {
color: #d5c12f;
}
.bg-d5c12f {
background-color: #d5c12f;
color: #000000;
}
.border-d5c12f {
border: 2px solid #d5c12f;
}
:root {
--color-primary: #d5c12f;
--color-primary-rgb: 213 193 47;
--color-primary-hsl: 53 66% 51%;
}
.gradient-d5c12f {
background: linear-gradient(135deg, #d5c12f, #96d52f);
}
.shadow-d5c12f {
box-shadow: 0 8px 24px rgb(213 193 47 / 0.35);
}
Old Gold
#d5c12f rgb(213, 193, 47) hsl(53, 66%, 51%) Old Gold
#2f43d5 rgb(47, 67, 213) hsl(233, 66%, 51%) Persian Blue
#2fd5c1 rgb(47, 213, 193) hsl(173, 66%, 51%) Turquoise
#c12fd5 rgb(193, 47, 213) hsl(293, 66%, 51%) Medium Orchid