#c8ba12 ≈ Old Gold
#c8ba12 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 78.43% red, 72.94% green and 7.06% blue; printed in CMYK it uses 0% cyan, 7% magenta, 91% yellow and 21.57% black. Its hue angle is 55.38°, with 83.49% saturation and 42.75% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 10.49:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 4.52.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cccc00 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.4744 |
Shades
#c8ba12 mixed progressively with black.
Tints
#c8ba12 mixed progressively with white.
Tones
#c8ba12 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c8ba12 {
color: #c8ba12;
}
.bg-c8ba12 {
background-color: #c8ba12;
color: #000000;
}
.border-c8ba12 {
border: 2px solid #c8ba12;
}
:root {
--color-primary: #c8ba12;
--color-primary-rgb: 200 186 18;
--color-primary-hsl: 55 83% 43%;
}
.gradient-c8ba12 {
background: linear-gradient(135deg, #c8ba12, #7bc812);
}
.shadow-c8ba12 {
box-shadow: 0 8px 24px rgb(200 186 18 / 0.35);
}
Old Gold
#c8ba12 rgb(200, 186, 18) hsl(55, 83%, 43%) Old Gold
#1220c8 rgb(18, 32, 200) hsl(235, 83%, 43%) Medium Blue
#12c8ba rgb(18, 200, 186) hsl(175, 83%, 43%) Medium Turquoise
#ba12c8 rgb(186, 18, 200) hsl(295, 83%, 43%) Dark Orchid