#ccbd1f ≈ Old Gold
#ccbd1f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 74.12% green and 12.16% blue; printed in CMYK it uses 0% cyan, 7.35% magenta, 84.8% yellow and 20% black. Its hue angle is 54.8°, with 73.62% saturation and 46.08% 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 10.87:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 4.35.
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.4933 |
Shades
#ccbd1f mixed progressively with black.
Tints
#ccbd1f mixed progressively with white.
Tones
#ccbd1f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ccbd1f {
color: #ccbd1f;
}
.bg-ccbd1f {
background-color: #ccbd1f;
color: #000000;
}
.border-ccbd1f {
border: 2px solid #ccbd1f;
}
:root {
--color-primary: #ccbd1f;
--color-primary-rgb: 204 189 31;
--color-primary-hsl: 55 74% 46%;
}
.gradient-ccbd1f {
background: linear-gradient(135deg, #ccbd1f, #84cc1f);
}
.shadow-ccbd1f {
box-shadow: 0 8px 24px rgb(204 189 31 / 0.35);
}
Old Gold
#ccbd1f rgb(204, 189, 31) hsl(55, 74%, 46%) Old Gold
#1f2ecc rgb(31, 46, 204) hsl(235, 74%, 46%) Persian Blue
#1fccbd rgb(31, 204, 189) hsl(175, 74%, 46%) Medium Turquoise
#bd1fcc rgb(189, 31, 204) hsl(295, 74%, 46%) Dark Orchid