#c8b71f ≈ Old Gold
#c8b71f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 78.43% red, 71.76% green and 12.16% blue; printed in CMYK it uses 0% cyan, 8.5% magenta, 84.5% yellow and 21.57% black. Its hue angle is 53.96°, with 73.16% saturation and 45.29% 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.25: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 | #cccc33 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.4625 |
Shades
#c8b71f mixed progressively with black.
Tints
#c8b71f mixed progressively with white.
Tones
#c8b71f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c8b71f {
color: #c8b71f;
}
.bg-c8b71f {
background-color: #c8b71f;
color: #000000;
}
.border-c8b71f {
border: 2px solid #c8b71f;
}
:root {
--color-primary: #c8b71f;
--color-primary-rgb: 200 183 31;
--color-primary-hsl: 54 73% 45%;
}
.gradient-c8b71f {
background: linear-gradient(135deg, #c8b71f, #85c81f);
}
.shadow-c8b71f {
box-shadow: 0 8px 24px rgb(200 183 31 / 0.35);
}
Old Gold
#c8b71f rgb(200, 183, 31) hsl(54, 73%, 45%) Old Gold
#1f30c8 rgb(31, 48, 200) hsl(234, 73%, 45%) Persian Blue
#1fc8b7 rgb(31, 200, 183) hsl(174, 73%, 45%) Medium Turquoise
#b71fc8 rgb(183, 31, 200) hsl(294, 73%, 45%) Dark Orchid