#c8bf31 ≈ Old Gold
#c8bf31 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 19.22% blue; printed in CMYK it uses 0% cyan, 4.5% magenta, 75.5% yellow and 21.57% black. Its hue angle is 56.42°, with 60.64% saturation and 48.82% 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.95:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 5.2.
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.4976 |
Shades
#c8bf31 mixed progressively with black.
Tints
#c8bf31 mixed progressively with white.
Tones
#c8bf31 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c8bf31 {
color: #c8bf31;
}
.bg-c8bf31 {
background-color: #c8bf31;
color: #000000;
}
.border-c8bf31 {
border: 2px solid #c8bf31;
}
:root {
--color-primary: #c8bf31;
--color-primary-rgb: 200 191 49;
--color-primary-hsl: 56 61% 49%;
}
.gradient-c8bf31 {
background: linear-gradient(135deg, #c8bf31, #85c831);
}
.shadow-c8bf31 {
box-shadow: 0 8px 24px rgb(200 191 49 / 0.35);
}
Old Gold
#c8bf31 rgb(200, 191, 49) hsl(56, 61%, 49%) Old Gold
#313ac8 rgb(49, 58, 200) hsl(236, 61%, 49%) Persian Blue
#31c8bf rgb(49, 200, 191) hsl(176, 61%, 49%) Medium Turquoise
#bf31c8 rgb(191, 49, 200) hsl(296, 61%, 49%) Medium Orchid