#d9c028 ≈ Old Gold
#d9c028 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 15.69% blue; printed in CMYK it uses 0% cyan, 11.52% magenta, 81.57% yellow and 14.9% black. Its hue angle is 51.53°, with 69.96% 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.52:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 3.76.
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.526 |
Shades
#d9c028 mixed progressively with black.
Tints
#d9c028 mixed progressively with white.
Tones
#d9c028 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d9c028 {
color: #d9c028;
}
.bg-d9c028 {
background-color: #d9c028;
color: #000000;
}
.border-d9c028 {
border: 2px solid #d9c028;
}
:root {
--color-primary: #d9c028;
--color-primary-rgb: 217 192 40;
--color-primary-hsl: 52 70% 50%;
}
.gradient-d9c028 {
background: linear-gradient(135deg, #d9c028, #99d928);
}
.shadow-d9c028 {
box-shadow: 0 8px 24px rgb(217 192 40 / 0.35);
}
Old Gold
#d9c028 rgb(217, 192, 40) hsl(52, 70%, 50%) Old Gold
#2841d9 rgb(40, 65, 217) hsl(232, 70%, 50%) Persian Blue
#28d9c0 rgb(40, 217, 192) hsl(172, 70%, 50%) Turquoise
#c028d9 rgb(192, 40, 217) hsl(292, 70%, 50%) Electric Purple