#ccaf02 ≈ Old Gold
#ccaf02 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 80% red, 68.63% green and 0.78% blue; printed in CMYK it uses 0% cyan, 14.22% magenta, 99.02% yellow and 20% black. Its hue angle is 51.39°, with 98.06% saturation and 40.39% 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.7:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 3.31.
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.435 |
Shades
#ccaf02 mixed progressively with black.
Tints
#ccaf02 mixed progressively with white.
Tones
#ccaf02 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ccaf02 {
color: #ccaf02;
}
.bg-ccaf02 {
background-color: #ccaf02;
color: #000000;
}
.border-ccaf02 {
border: 2px solid #ccaf02;
}
:root {
--color-primary: #ccaf02;
--color-primary-rgb: 204 175 2;
--color-primary-hsl: 51 98% 40%;
}
.gradient-ccaf02 {
background: linear-gradient(135deg, #ccaf02, #84cc02);
}
.shadow-ccaf02 {
box-shadow: 0 8px 24px rgb(204 175 2 / 0.35);
}
Old Gold
#ccaf02 rgb(204, 175, 2) hsl(51, 98%, 40%) Old Gold
#021fcc rgb(2, 31, 204) hsl(231, 98%, 40%) Medium Blue
#02ccaf rgb(2, 204, 175) hsl(171, 98%, 40%) Medium Aquamarine
#af02cc rgb(175, 2, 204) hsl(291, 98%, 40%) Dark Orchid