#ccb412 ≈ Old Gold
#ccb412 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 70.59% green and 7.06% blue; printed in CMYK it uses 0% cyan, 11.76% magenta, 91.18% yellow and 20% black. Its hue angle is 52.26°, 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.1:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 2.84.
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.4552 |
Shades
#ccb412 mixed progressively with black.
Tints
#ccb412 mixed progressively with white.
Tones
#ccb412 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ccb412 {
color: #ccb412;
}
.bg-ccb412 {
background-color: #ccb412;
color: #000000;
}
.border-ccb412 {
border: 2px solid #ccb412;
}
:root {
--color-primary: #ccb412;
--color-primary-rgb: 204 180 18;
--color-primary-hsl: 52 84% 44%;
}
.gradient-ccb412 {
background: linear-gradient(135deg, #ccb412, #87cc12);
}
.shadow-ccb412 {
box-shadow: 0 8px 24px rgb(204 180 18 / 0.35);
}
Old Gold
#ccb412 rgb(204, 180, 18) hsl(52, 84%, 44%) Old Gold
#122acc rgb(18, 42, 204) hsl(232, 84%, 44%) Persian Blue
#12ccb4 rgb(18, 204, 180) hsl(172, 84%, 44%) Turquoise
#b412cc rgb(180, 18, 204) hsl(292, 84%, 44%) Dark Orchid