#cfba04 ≈ Old Gold
#cfba04 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 72.94% green and 1.57% blue; printed in CMYK it uses 0% cyan, 10.14% magenta, 98.07% yellow and 18.82% black. Its hue angle is 53.79°, with 96.21% saturation and 41.37% 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.68:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 3.93.
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.4839 |
Shades
#cfba04 mixed progressively with black.
Tints
#cfba04 mixed progressively with white.
Tones
#cfba04 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cfba04 {
color: #cfba04;
}
.bg-cfba04 {
background-color: #cfba04;
color: #000000;
}
.border-cfba04 {
border: 2px solid #cfba04;
}
:root {
--color-primary: #cfba04;
--color-primary-rgb: 207 186 4;
--color-primary-hsl: 54 96% 41%;
}
.gradient-cfba04 {
background: linear-gradient(135deg, #cfba04, #7fcf04);
}
.shadow-cfba04 {
box-shadow: 0 8px 24px rgb(207 186 4 / 0.35);
}
Old Gold
#cfba04 rgb(207, 186, 4) hsl(54, 96%, 41%) Old Gold
#0419cf rgb(4, 25, 207) hsl(234, 96%, 41%) Medium Blue
#04cfba rgb(4, 207, 186) hsl(174, 96%, 41%) Turquoise
#ba04cf rgb(186, 4, 207) hsl(294, 96%, 41%) Dark Orchid