#d7bc12 ≈ Old Gold
#d7bc12 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 84.31% red, 73.73% green and 7.06% blue; printed in CMYK it uses 0% cyan, 12.56% magenta, 91.63% yellow and 15.69% black. Its hue angle is 51.78°, with 84.55% saturation and 45.69% 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.09:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 3.76.
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.5046 |
Shades
#d7bc12 mixed progressively with black.
Tints
#d7bc12 mixed progressively with white.
Tones
#d7bc12 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d7bc12 {
color: #d7bc12;
}
.bg-d7bc12 {
background-color: #d7bc12;
color: #000000;
}
.border-d7bc12 {
border: 2px solid #d7bc12;
}
:root {
--color-primary: #d7bc12;
--color-primary-rgb: 215 188 18;
--color-primary-hsl: 52 85% 46%;
}
.gradient-d7bc12 {
background: linear-gradient(135deg, #d7bc12, #90d712);
}
.shadow-d7bc12 {
box-shadow: 0 8px 24px rgb(215 188 18 / 0.35);
}
Old Gold
#d7bc12 rgb(215, 188, 18) hsl(52, 85%, 46%) Old Gold
#122dd7 rgb(18, 45, 215) hsl(232, 85%, 46%) Persian Blue
#12d7bc rgb(18, 215, 188) hsl(172, 85%, 46%) Turquoise
#bc12d7 rgb(188, 18, 215) hsl(292, 85%, 46%) Electric Purple