#dcbc0c ≈ Old Gold
#dcbc0c is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 86.27% red, 73.73% green and 4.71% blue; printed in CMYK it uses 0% cyan, 14.55% magenta, 94.55% yellow and 13.73% black. Its hue angle is 50.77°, with 89.66% saturation and 45.49% 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.24:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 4.23.
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.5121 |
Shades
#dcbc0c mixed progressively with black.
Tints
#dcbc0c mixed progressively with white.
Tones
#dcbc0c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dcbc0c {
color: #dcbc0c;
}
.bg-dcbc0c {
background-color: #dcbc0c;
color: #000000;
}
.border-dcbc0c {
border: 2px solid #dcbc0c;
}
:root {
--color-primary: #dcbc0c;
--color-primary-rgb: 220 188 12;
--color-primary-hsl: 51 90% 45%;
}
.gradient-dcbc0c {
background: linear-gradient(135deg, #dcbc0c, #94dc0c);
}
.shadow-dcbc0c {
box-shadow: 0 8px 24px rgb(220 188 12 / 0.35);
}
Old Gold
#dcbc0c rgb(220, 188, 12) hsl(51, 90%, 45%) Old Gold
#0c2cdc rgb(12, 44, 220) hsl(231, 90%, 45%) Blue
#0cdcbc rgb(12, 220, 188) hsl(171, 90%, 45%) Turquoise
#bc0cdc rgb(188, 12, 220) hsl(291, 90%, 45%) Electric Purple