#cbba1f ≈ Old Gold
#cbba1f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 79.61% red, 72.94% green and 12.16% blue; printed in CMYK it uses 0% cyan, 8.37% magenta, 84.73% yellow and 20.39% black. Its hue angle is 54.07°, with 73.5% saturation and 45.88% 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.58:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 3.66.
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.4791 |
Shades
#cbba1f mixed progressively with black.
Tints
#cbba1f mixed progressively with white.
Tones
#cbba1f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cbba1f {
color: #cbba1f;
}
.bg-cbba1f {
background-color: #cbba1f;
color: #000000;
}
.border-cbba1f {
border: 2px solid #cbba1f;
}
:root {
--color-primary: #cbba1f;
--color-primary-rgb: 203 186 31;
--color-primary-hsl: 54 74% 46%;
}
.gradient-cbba1f {
background: linear-gradient(135deg, #cbba1f, #86cb1f);
}
.shadow-cbba1f {
box-shadow: 0 8px 24px rgb(203 186 31 / 0.35);
}
Old Gold
#cbba1f rgb(203, 186, 31) hsl(54, 74%, 46%) Old Gold
#1f30cb rgb(31, 48, 203) hsl(234, 74%, 46%) Persian Blue
#1fcbba rgb(31, 203, 186) hsl(174, 74%, 46%) Medium Turquoise
#ba1fcb rgb(186, 31, 203) hsl(294, 74%, 46%) Dark Orchid