#cdc12c ≈ Old Gold
#cdc12c is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 75.69% green and 17.25% blue; printed in CMYK it uses 0% cyan, 5.85% magenta, 78.54% yellow and 19.61% black. Its hue angle is 55.53°, with 64.66% saturation and 48.82% 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.26:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 5.03.
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.513 |
Shades
#cdc12c mixed progressively with black.
Tints
#cdc12c mixed progressively with white.
Tones
#cdc12c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cdc12c {
color: #cdc12c;
}
.bg-cdc12c {
background-color: #cdc12c;
color: #000000;
}
.border-cdc12c {
border: 2px solid #cdc12c;
}
:root {
--color-primary: #cdc12c;
--color-primary-rgb: 205 193 44;
--color-primary-hsl: 56 65% 49%;
}
.gradient-cdc12c {
background: linear-gradient(135deg, #cdc12c, #88cd2c);
}
.shadow-cdc12c {
box-shadow: 0 8px 24px rgb(205 193 44 / 0.35);
}
Old Gold
#cdc12c rgb(205, 193, 44) hsl(56, 65%, 49%) Old Gold
#2c38cd rgb(44, 56, 205) hsl(236, 65%, 49%) Persian Blue
#2ccdc1 rgb(44, 205, 193) hsl(176, 65%, 49%) Medium Turquoise
#c12ccd rgb(193, 44, 205) hsl(296, 65%, 49%) Medium Orchid