#c5ba2f ≈ Old Gold
#c5ba2f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 77.25% red, 72.94% green and 18.43% blue; printed in CMYK it uses 0% cyan, 5.58% magenta, 76.14% yellow and 22.75% black. Its hue angle is 55.6°, with 61.48% saturation and 47.84% 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.44:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 4.37.
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.4719 |
Shades
#c5ba2f mixed progressively with black.
Tints
#c5ba2f mixed progressively with white.
Tones
#c5ba2f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c5ba2f {
color: #c5ba2f;
}
.bg-c5ba2f {
background-color: #c5ba2f;
color: #000000;
}
.border-c5ba2f {
border: 2px solid #c5ba2f;
}
:root {
--color-primary: #c5ba2f;
--color-primary-rgb: 197 186 47;
--color-primary-hsl: 56 61% 48%;
}
.gradient-c5ba2f {
background: linear-gradient(135deg, #c5ba2f, #85c52f);
}
.shadow-c5ba2f {
box-shadow: 0 8px 24px rgb(197 186 47 / 0.35);
}
Old Gold
#c5ba2f rgb(197, 186, 47) hsl(56, 61%, 48%) Old Gold
#2f3ac5 rgb(47, 58, 197) hsl(236, 61%, 48%) Persian Blue
#2fc5ba rgb(47, 197, 186) hsl(176, 61%, 48%) Tiffany Blue
#ba2fc5 rgb(186, 47, 197) hsl(296, 61%, 48%) Dark Orchid