#d7b522 ≈ Old Gold
#d7b522 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 84.31% red, 70.98% green and 13.33% blue; printed in CMYK it uses 0% cyan, 15.81% magenta, 84.19% yellow and 15.69% black. Its hue angle is 48.73°, with 72.69% saturation and 48.82% 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.52:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 2.86.
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.4761 |
Shades
#d7b522 mixed progressively with black.
Tints
#d7b522 mixed progressively with white.
Tones
#d7b522 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d7b522 {
color: #d7b522;
}
.bg-d7b522 {
background-color: #d7b522;
color: #000000;
}
.border-d7b522 {
border: 2px solid #d7b522;
}
:root {
--color-primary: #d7b522;
--color-primary-rgb: 215 181 34;
--color-primary-hsl: 49 73% 49%;
}
.gradient-d7b522 {
background: linear-gradient(135deg, #d7b522, #9ed722);
}
.shadow-d7b522 {
box-shadow: 0 8px 24px rgb(215 181 34 / 0.35);
}
Old Gold
#d7b522 rgb(215, 181, 34) hsl(49, 73%, 49%) Old Gold
#2244d7 rgb(34, 68, 215) hsl(229, 73%, 49%) Persian Blue
#22d7b5 rgb(34, 215, 181) hsl(169, 73%, 49%) Medium Aquamarine
#b522d7 rgb(181, 34, 215) hsl(289, 73%, 49%) Dark Orchid