#c2b41f ≈ Old Gold
#c2b41f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 76.08% red, 70.59% green and 12.16% blue; printed in CMYK it uses 0% cyan, 7.22% magenta, 84.02% yellow and 23.92% black. Its hue angle is 54.85°, with 72.44% saturation and 44.12% 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 9.84:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 3.97.
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.4421 |
Shades
#c2b41f mixed progressively with black.
Tints
#c2b41f mixed progressively with white.
Tones
#c2b41f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c2b41f {
color: #c2b41f;
}
.bg-c2b41f {
background-color: #c2b41f;
color: #000000;
}
.border-c2b41f {
border: 2px solid #c2b41f;
}
:root {
--color-primary: #c2b41f;
--color-primary-rgb: 194 180 31;
--color-primary-hsl: 55 72% 44%;
}
.gradient-c2b41f {
background: linear-gradient(135deg, #c2b41f, #7ec21f);
}
.shadow-c2b41f {
box-shadow: 0 8px 24px rgb(194 180 31 / 0.35);
}
Old Gold
#c2b41f rgb(194, 180, 31) hsl(55, 72%, 44%) Old Gold
#1f2dc2 rgb(31, 45, 194) hsl(235, 72%, 44%) Persian Blue
#1fc2b4 rgb(31, 194, 180) hsl(175, 72%, 44%) Tiffany Blue
#b41fc2 rgb(180, 31, 194) hsl(295, 72%, 44%) Dark Orchid