#d8bb2a ≈ Old Gold
#d8bb2a is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 84.71% red, 73.33% green and 16.47% blue; printed in CMYK it uses 0% cyan, 13.43% magenta, 80.56% yellow and 15.29% black. Its hue angle is 50°, with 69.05% saturation and 50.59% 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.06:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 2.67.
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.5031 |
Shades
#d8bb2a mixed progressively with black.
Tints
#d8bb2a mixed progressively with white.
Tones
#d8bb2a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d8bb2a {
color: #d8bb2a;
}
.bg-d8bb2a {
background-color: #d8bb2a;
color: #000000;
}
.border-d8bb2a {
border: 2px solid #d8bb2a;
}
:root {
--color-primary: #d8bb2a;
--color-primary-rgb: 216 187 42;
--color-primary-hsl: 50 69% 51%;
}
.gradient-d8bb2a {
background: linear-gradient(135deg, #d8bb2a, #9ed82a);
}
.shadow-d8bb2a {
box-shadow: 0 8px 24px rgb(216 187 42 / 0.35);
}
Old Gold
#d8bb2a rgb(216, 187, 42) hsl(50, 69%, 51%) Old Gold
#2a47d8 rgb(42, 71, 216) hsl(230, 69%, 51%) Iris
#2ad8bb rgb(42, 216, 187) hsl(170, 69%, 51%) Turquoise
#bb2ad8 rgb(187, 42, 216) hsl(290, 69%, 51%) Electric Purple