#ccba12 ≈ Old Gold
#ccba12 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 72.94% green and 7.06% blue; printed in CMYK it uses 0% cyan, 8.82% magenta, 91.18% yellow and 20% black. Its hue angle is 54.19°, with 83.78% saturation and 43.53% 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.6:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 3.93.
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.48 |
Shades
#ccba12 mixed progressively with black.
Tints
#ccba12 mixed progressively with white.
Tones
#ccba12 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ccba12 {
color: #ccba12;
}
.bg-ccba12 {
background-color: #ccba12;
color: #000000;
}
.border-ccba12 {
border: 2px solid #ccba12;
}
:root {
--color-primary: #ccba12;
--color-primary-rgb: 204 186 18;
--color-primary-hsl: 54 84% 44%;
}
.gradient-ccba12 {
background: linear-gradient(135deg, #ccba12, #81cc12);
}
.shadow-ccba12 {
box-shadow: 0 8px 24px rgb(204 186 18 / 0.35);
}
Old Gold
#ccba12 rgb(204, 186, 18) hsl(54, 84%, 44%) Old Gold
#1224cc rgb(18, 36, 204) hsl(234, 84%, 44%) Medium Blue
#12ccba rgb(18, 204, 186) hsl(174, 84%, 44%) Turquoise
#ba12cc rgb(186, 18, 204) hsl(294, 84%, 44%) Dark Orchid