#cdb315 ≈ Old Gold
#cdb315 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 70.2% green and 8.24% blue; printed in CMYK it uses 0% cyan, 12.68% magenta, 89.76% yellow and 19.61% black. Its hue angle is 51.52°, with 81.42% saturation and 44.31% 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 10.05:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 2.62.
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.4527 |
Shades
#cdb315 mixed progressively with black.
Tints
#cdb315 mixed progressively with white.
Tones
#cdb315 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cdb315 {
color: #cdb315;
}
.bg-cdb315 {
background-color: #cdb315;
color: #000000;
}
.border-cdb315 {
border: 2px solid #cdb315;
}
:root {
--color-primary: #cdb315;
--color-primary-rgb: 205 179 21;
--color-primary-hsl: 52 81% 44%;
}
.gradient-cdb315 {
background: linear-gradient(135deg, #cdb315, #8bcd15);
}
.shadow-cdb315 {
box-shadow: 0 8px 24px rgb(205 179 21 / 0.35);
}
Old Gold
#cdb315 rgb(205, 179, 21) hsl(52, 81%, 44%) Old Gold
#152fcd rgb(21, 47, 205) hsl(232, 81%, 44%) Persian Blue
#15cdb3 rgb(21, 205, 179) hsl(172, 81%, 44%) Medium Aquamarine
#b315cd rgb(179, 21, 205) hsl(292, 81%, 44%) Dark Orchid