#c2af2a ≈ Old Gold
#c2af2a is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 76.08% red, 68.63% green and 16.47% blue; printed in CMYK it uses 0% cyan, 9.79% magenta, 78.35% yellow and 23.92% black. Its hue angle is 52.5°, with 64.41% saturation and 46.27% 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.46:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 2.95.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc9933 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.423 |
Shades
#c2af2a mixed progressively with black.
Tints
#c2af2a mixed progressively with white.
Tones
#c2af2a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c2af2a {
color: #c2af2a;
}
.bg-c2af2a {
background-color: #c2af2a;
color: #000000;
}
.border-c2af2a {
border: 2px solid #c2af2a;
}
:root {
--color-primary: #c2af2a;
--color-primary-rgb: 194 175 42;
--color-primary-hsl: 53 64% 46%;
}
.gradient-c2af2a {
background: linear-gradient(135deg, #c2af2a, #89c22a);
}
.shadow-c2af2a {
box-shadow: 0 8px 24px rgb(194 175 42 / 0.35);
}
Old Gold
#c2af2a rgb(194, 175, 42) hsl(53, 64%, 46%) Old Gold
#2a3dc2 rgb(42, 61, 194) hsl(233, 64%, 46%) Persian Blue
#2ac2af rgb(42, 194, 175) hsl(173, 64%, 46%) Tiffany Blue
#af2ac2 rgb(175, 42, 194) hsl(293, 64%, 46%) Dark Orchid