#d2c02a ≈ Old Gold
#d2c02a 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.29% green and 16.47% blue; printed in CMYK it uses 0% cyan, 8.57% magenta, 80% yellow and 17.65% black. Its hue angle is 53.57°, with 66.67% saturation and 49.41% 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.31:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 4.08.
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.5157 |
Shades
#d2c02a mixed progressively with black.
Tints
#d2c02a mixed progressively with white.
Tones
#d2c02a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d2c02a {
color: #d2c02a;
}
.bg-d2c02a {
background-color: #d2c02a;
color: #000000;
}
.border-d2c02a {
border: 2px solid #d2c02a;
}
:root {
--color-primary: #d2c02a;
--color-primary-rgb: 210 192 42;
--color-primary-hsl: 54 67% 49%;
}
.gradient-d2c02a {
background: linear-gradient(135deg, #d2c02a, #90d22a);
}
.shadow-d2c02a {
box-shadow: 0 8px 24px rgb(210 192 42 / 0.35);
}
Old Gold
#d2c02a rgb(210, 192, 42) hsl(54, 67%, 49%) Old Gold
#2a3cd2 rgb(42, 60, 210) hsl(234, 67%, 49%) Persian Blue
#2ad2c0 rgb(42, 210, 192) hsl(174, 67%, 49%) Turquoise
#c02ad2 rgb(192, 42, 210) hsl(294, 67%, 49%) Electric Purple