#d3c021 ≈ Old Gold
#d3c021 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 82.75% red, 75.29% green and 12.94% blue; printed in CMYK it uses 0% cyan, 9% magenta, 84.36% yellow and 17.25% black. Its hue angle is 53.6°, with 72.95% saturation and 47.84% 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.33:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 4.3.
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.5166 |
Shades
#d3c021 mixed progressively with black.
Tints
#d3c021 mixed progressively with white.
Tones
#d3c021 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d3c021 {
color: #d3c021;
}
.bg-d3c021 {
background-color: #d3c021;
color: #000000;
}
.border-d3c021 {
border: 2px solid #d3c021;
}
:root {
--color-primary: #d3c021;
--color-primary-rgb: 211 192 33;
--color-primary-hsl: 54 73% 48%;
}
.gradient-d3c021 {
background: linear-gradient(135deg, #d3c021, #8dd321);
}
.shadow-d3c021 {
box-shadow: 0 8px 24px rgb(211 192 33 / 0.35);
}
Old Gold
#d3c021 rgb(211, 192, 33) hsl(54, 73%, 48%) Old Gold
#2134d3 rgb(33, 52, 211) hsl(234, 73%, 48%) Persian Blue
#21d3c0 rgb(33, 211, 192) hsl(174, 73%, 48%) Turquoise
#c021d3 rgb(192, 33, 211) hsl(294, 73%, 48%) Electric Purple