#c8bf1f ≈ Old Gold
#c8bf1f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 78.43% red, 74.9% green and 12.16% blue; printed in CMYK it uses 0% cyan, 4.5% magenta, 84.5% yellow and 21.57% black. Its hue angle is 56.8°, 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.93:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 5.6.
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.4964 |
Shades
#c8bf1f mixed progressively with black.
Tints
#c8bf1f mixed progressively with white.
Tones
#c8bf1f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c8bf1f {
color: #c8bf1f;
}
.bg-c8bf1f {
background-color: #c8bf1f;
color: #000000;
}
.border-c8bf1f {
border: 2px solid #c8bf1f;
}
:root {
--color-primary: #c8bf1f;
--color-primary-rgb: 200 191 31;
--color-primary-hsl: 57 73% 45%;
}
.gradient-c8bf1f {
background: linear-gradient(135deg, #c8bf1f, #7dc81f);
}
.shadow-c8bf1f {
box-shadow: 0 8px 24px rgb(200 191 31 / 0.35);
}
Old Gold
#c8bf1f rgb(200, 191, 31) hsl(57, 73%, 45%) Old Gold
#1f28c8 rgb(31, 40, 200) hsl(237, 73%, 45%) Persian Blue
#1fc8bf rgb(31, 200, 191) hsl(177, 73%, 45%) Robin Egg Blue
#bf1fc8 rgb(191, 31, 200) hsl(297, 73%, 45%) Dark Orchid