#cfba40 ≈ Old Gold
#cfba40 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 81.18% red, 72.94% green and 25.1% blue; printed in CMYK it uses 0% cyan, 10.14% magenta, 69.08% yellow and 18.82% black. Its hue angle is 51.19°, with 59.83% saturation and 53.14% 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.75:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 1.79.
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.4875 |
Shades
#cfba40 mixed progressively with black.
Tints
#cfba40 mixed progressively with white.
Tones
#cfba40 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cfba40 {
color: #cfba40;
}
.bg-cfba40 {
background-color: #cfba40;
color: #000000;
}
.border-cfba40 {
border: 2px solid #cfba40;
}
:root {
--color-primary: #cfba40;
--color-primary-rgb: 207 186 64;
--color-primary-hsl: 51 60% 53%;
}
.gradient-cfba40 {
background: linear-gradient(135deg, #cfba40, #9dcf40);
}
.shadow-cfba40 {
box-shadow: 0 8px 24px rgb(207 186 64 / 0.35);
}
Old Gold
#cfba40 rgb(207, 186, 64) hsl(51, 60%, 53%) Old Gold
#4055cf rgb(64, 85, 207) hsl(231, 60%, 53%) Iris
#40cfba rgb(64, 207, 186) hsl(171, 60%, 53%) Turquoise
#ba40cf rgb(186, 64, 207) hsl(291, 60%, 53%) Medium Orchid