#d5b520 ≈ Old Gold
#d5b520 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 83.53% red, 70.98% green and 12.55% blue; printed in CMYK it uses 0% cyan, 15.02% magenta, 84.98% yellow and 16.47% black. Its hue angle is 49.39°, with 73.88% saturation and 48.04% 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 10.46:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 2.6.
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.473 |
Shades
#d5b520 mixed progressively with black.
Tints
#d5b520 mixed progressively with white.
Tones
#d5b520 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d5b520 {
color: #d5b520;
}
.bg-d5b520 {
background-color: #d5b520;
color: #000000;
}
.border-d5b520 {
border: 2px solid #d5b520;
}
:root {
--color-primary: #d5b520;
--color-primary-rgb: 213 181 32;
--color-primary-hsl: 49 74% 48%;
}
.gradient-d5b520 {
background: linear-gradient(135deg, #d5b520, #9bd520);
}
.shadow-d5b520 {
box-shadow: 0 8px 24px rgb(213 181 32 / 0.35);
}
Old Gold
#d5b520 rgb(213, 181, 32) hsl(49, 74%, 48%) Old Gold
#2040d5 rgb(32, 64, 213) hsl(229, 74%, 48%) Persian Blue
#20d5b5 rgb(32, 213, 181) hsl(169, 74%, 48%) Medium Aquamarine
#b520d5 rgb(181, 32, 213) hsl(289, 74%, 48%) Dark Orchid