#d9c021 ≈ Old Gold
#d9c021 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 85.1% red, 75.29% green and 12.94% blue; printed in CMYK it uses 0% cyan, 11.52% magenta, 84.79% yellow and 14.9% black. Its hue angle is 51.85°, with 73.6% saturation and 49.02% 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.51:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 4.04.
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.5256 |
Shades
#d9c021 mixed progressively with black.
Tints
#d9c021 mixed progressively with white.
Tones
#d9c021 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d9c021 {
color: #d9c021;
}
.bg-d9c021 {
background-color: #d9c021;
color: #000000;
}
.border-d9c021 {
border: 2px solid #d9c021;
}
:root {
--color-primary: #d9c021;
--color-primary-rgb: 217 192 33;
--color-primary-hsl: 52 74% 49%;
}
.gradient-d9c021 {
background: linear-gradient(135deg, #d9c021, #96d921);
}
.shadow-d9c021 {
box-shadow: 0 8px 24px rgb(217 192 33 / 0.35);
}
Old Gold
#d9c021 rgb(217, 192, 33) hsl(52, 74%, 49%) Old Gold
#213ad9 rgb(33, 58, 217) hsl(232, 74%, 49%) Persian Blue
#21d9c0 rgb(33, 217, 192) hsl(172, 74%, 49%) Turquoise
#c021d9 rgb(192, 33, 217) hsl(292, 74%, 49%) Electric Purple