#c3aa1f ≈ Old Gold
#c3aa1f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 76.47% red, 66.67% green and 12.16% blue; printed in CMYK it uses 0% cyan, 12.82% magenta, 84.1% yellow and 23.53% black. Its hue angle is 50.85°, with 72.57% saturation and 44.31% 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.09:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 3.4.
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.4045 |
Shades
#c3aa1f mixed progressively with black.
Tints
#c3aa1f mixed progressively with white.
Tones
#c3aa1f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c3aa1f {
color: #c3aa1f;
}
.bg-c3aa1f {
background-color: #c3aa1f;
color: #000000;
}
.border-c3aa1f {
border: 2px solid #c3aa1f;
}
:root {
--color-primary: #c3aa1f;
--color-primary-rgb: 195 170 31;
--color-primary-hsl: 51 73% 44%;
}
.gradient-c3aa1f {
background: linear-gradient(135deg, #c3aa1f, #8ac31f);
}
.shadow-c3aa1f {
box-shadow: 0 8px 24px rgb(195 170 31 / 0.35);
}
Old Gold
#c3aa1f rgb(195, 170, 31) hsl(51, 73%, 44%) Old Gold
#1f38c3 rgb(31, 56, 195) hsl(231, 73%, 44%) Persian Blue
#1fc3aa rgb(31, 195, 170) hsl(171, 73%, 44%) Medium Aquamarine
#aa1fc3 rgb(170, 31, 195) hsl(291, 73%, 44%) Dark Orchid