#d9ba2e ≈ Old Gold
#d9ba2e is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 85.1% red, 72.94% green and 18.04% blue; printed in CMYK it uses 0% cyan, 14.29% magenta, 78.8% yellow and 14.9% black. Its hue angle is 49.12°, with 69.23% saturation and 51.57% 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.01:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 2.51.
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.5007 |
Shades
#d9ba2e mixed progressively with black.
Tints
#d9ba2e mixed progressively with white.
Tones
#d9ba2e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d9ba2e {
color: #d9ba2e;
}
.bg-d9ba2e {
background-color: #d9ba2e;
color: #000000;
}
.border-d9ba2e {
border: 2px solid #d9ba2e;
}
:root {
--color-primary: #d9ba2e;
--color-primary-rgb: 217 186 46;
--color-primary-hsl: 49 69% 52%;
}
.gradient-d9ba2e {
background: linear-gradient(135deg, #d9ba2e, #a3d92e);
}
.shadow-d9ba2e {
box-shadow: 0 8px 24px rgb(217 186 46 / 0.35);
}
Old Gold
#d9ba2e rgb(217, 186, 46) hsl(49, 69%, 52%) Old Gold
#2e4dd9 rgb(46, 77, 217) hsl(229, 69%, 52%) Iris
#2ed9ba rgb(46, 217, 186) hsl(169, 69%, 52%) Turquoise
#ba2ed9 rgb(186, 46, 217) hsl(289, 69%, 52%) Electric Purple