#ccb20a ≈ Old Gold
#ccb20a is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 80% red, 69.8% green and 3.92% blue; printed in CMYK it uses 0% cyan, 12.75% magenta, 95.1% yellow and 20% black. Its hue angle is 51.96°, with 90.65% saturation and 41.96% 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 9.94:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 2.98.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc9900 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.447 |
Shades
#ccb20a mixed progressively with black.
Tints
#ccb20a mixed progressively with white.
Tones
#ccb20a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ccb20a {
color: #ccb20a;
}
.bg-ccb20a {
background-color: #ccb20a;
color: #000000;
}
.border-ccb20a {
border: 2px solid #ccb20a;
}
:root {
--color-primary: #ccb20a;
--color-primary-rgb: 204 178 10;
--color-primary-hsl: 52 91% 42%;
}
.gradient-ccb20a {
background: linear-gradient(135deg, #ccb20a, #85cc0a);
}
.shadow-ccb20a {
box-shadow: 0 8px 24px rgb(204 178 10 / 0.35);
}
Old Gold
#ccb20a rgb(204, 178, 10) hsl(52, 91%, 42%) Old Gold
#0a24cc rgb(10, 36, 204) hsl(232, 91%, 42%) Medium Blue
#0accb2 rgb(10, 204, 178) hsl(172, 91%, 42%) Medium Aquamarine
#b20acc rgb(178, 10, 204) hsl(292, 91%, 42%) Dark Orchid