#d8bc02 ≈ Old Gold
#d8bc02 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 84.71% red, 73.73% green and 0.78% blue; printed in CMYK it uses 0% cyan, 12.96% magenta, 99.07% yellow and 15.29% black. Its hue angle is 52.15°, with 98.17% saturation and 42.75% 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 11.11:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 4.15.
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.5057 |
Shades
#d8bc02 mixed progressively with black.
Tints
#d8bc02 mixed progressively with white.
Tones
#d8bc02 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d8bc02 {
color: #d8bc02;
}
.bg-d8bc02 {
background-color: #d8bc02;
color: #000000;
}
.border-d8bc02 {
border: 2px solid #d8bc02;
}
:root {
--color-primary: #d8bc02;
--color-primary-rgb: 216 188 2;
--color-primary-hsl: 52 98% 43%;
}
.gradient-d8bc02 {
background: linear-gradient(135deg, #d8bc02, #89d802);
}
.shadow-d8bc02 {
box-shadow: 0 8px 24px rgb(216 188 2 / 0.35);
}
Old Gold
#d8bc02 rgb(216, 188, 2) hsl(52, 98%, 43%) Old Gold
#021ed8 rgb(2, 30, 216) hsl(232, 98%, 43%) Medium Blue
#02d8bc rgb(2, 216, 188) hsl(172, 98%, 43%) Turquoise
#bc02d8 rgb(188, 2, 216) hsl(292, 98%, 43%) Electric Purple