#d1b40a ≈ Old Gold
#d1b40a is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 81.96% red, 70.59% green and 3.92% blue; printed in CMYK it uses 0% cyan, 13.88% magenta, 95.22% yellow and 18.04% black. Its hue angle is 51.26°, with 90.87% saturation and 42.94% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 10.24:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 3.05.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cccc00 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.4622 |
Shades
#d1b40a mixed progressively with black.
Tints
#d1b40a mixed progressively with white.
Tones
#d1b40a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d1b40a {
color: #d1b40a;
}
.bg-d1b40a {
background-color: #d1b40a;
color: #000000;
}
.border-d1b40a {
border: 2px solid #d1b40a;
}
:root {
--color-primary: #d1b40a;
--color-primary-rgb: 209 180 10;
--color-primary-hsl: 51 91% 43%;
}
.gradient-d1b40a {
background: linear-gradient(135deg, #d1b40a, #8ad10a);
}
.shadow-d1b40a {
box-shadow: 0 8px 24px rgb(209 180 10 / 0.35);
}
Old Gold
#d1b40a rgb(209, 180, 10) hsl(51, 91%, 43%) Old Gold
#0a27d1 rgb(10, 39, 209) hsl(231, 91%, 43%) Medium Blue
#0ad1b4 rgb(10, 209, 180) hsl(171, 91%, 43%) Medium Aquamarine
#b40ad1 rgb(180, 10, 209) hsl(291, 91%, 43%) Dark Orchid