#ccaf04 ≈ Old Gold
#ccaf04 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 1.57% blue; printed in CMYK it uses 0% cyan, 14.22% magenta, 98.04% yellow and 20% black. Its hue angle is 51.3°, with 96.15% saturation and 40.78% 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.26.
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.4351 |
Shades
#ccaf04 mixed progressively with black.
Tints
#ccaf04 mixed progressively with white.
Tones
#ccaf04 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ccaf04 {
color: #ccaf04;
}
.bg-ccaf04 {
background-color: #ccaf04;
color: #000000;
}
.border-ccaf04 {
border: 2px solid #ccaf04;
}
:root {
--color-primary: #ccaf04;
--color-primary-rgb: 204 175 4;
--color-primary-hsl: 51 96% 41%;
}
.gradient-ccaf04 {
background: linear-gradient(135deg, #ccaf04, #85cc04);
}
.shadow-ccaf04 {
box-shadow: 0 8px 24px rgb(204 175 4 / 0.35);
}
Old Gold
#ccaf04 rgb(204, 175, 4) hsl(51, 96%, 41%) Old Gold
#0421cc rgb(4, 33, 204) hsl(231, 96%, 41%) Medium Blue
#04ccaf rgb(4, 204, 175) hsl(171, 96%, 41%) Medium Aquamarine
#af04cc rgb(175, 4, 204) hsl(291, 96%, 41%) Dark Orchid