#c7ba2c ≈ Old Gold
#c7ba2c is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 78.04% red, 72.94% green and 17.25% blue; printed in CMYK it uses 0% cyan, 6.53% magenta, 77.89% yellow and 21.96% black. Its hue angle is 54.97°, with 63.79% saturation and 47.65% 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.49:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 3.99.
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.4744 |
Shades
#c7ba2c mixed progressively with black.
Tints
#c7ba2c mixed progressively with white.
Tones
#c7ba2c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c7ba2c {
color: #c7ba2c;
}
.bg-c7ba2c {
background-color: #c7ba2c;
color: #000000;
}
.border-c7ba2c {
border: 2px solid #c7ba2c;
}
:root {
--color-primary: #c7ba2c;
--color-primary-rgb: 199 186 44;
--color-primary-hsl: 55 64% 48%;
}
.gradient-c7ba2c {
background: linear-gradient(135deg, #c7ba2c, #87c72c);
}
.shadow-c7ba2c {
box-shadow: 0 8px 24px rgb(199 186 44 / 0.35);
}
Old Gold
#c7ba2c rgb(199, 186, 44) hsl(55, 64%, 48%) Old Gold
#2c39c7 rgb(44, 57, 199) hsl(235, 64%, 48%) Persian Blue
#2cc7ba rgb(44, 199, 186) hsl(175, 64%, 48%) Medium Turquoise
#ba2cc7 rgb(186, 44, 199) hsl(295, 64%, 48%) Dark Orchid