#cab41f ≈ Old Gold
#cab41f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 79.22% red, 70.59% green and 12.16% blue; printed in CMYK it uses 0% cyan, 10.89% magenta, 84.65% yellow and 20.78% black. Its hue angle is 52.28°, with 73.39% saturation and 45.69% 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.06:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 2.47.
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.453 |
Shades
#cab41f mixed progressively with black.
Tints
#cab41f mixed progressively with white.
Tones
#cab41f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cab41f {
color: #cab41f;
}
.bg-cab41f {
background-color: #cab41f;
color: #000000;
}
.border-cab41f {
border: 2px solid #cab41f;
}
:root {
--color-primary: #cab41f;
--color-primary-rgb: 202 180 31;
--color-primary-hsl: 52 73% 46%;
}
.gradient-cab41f {
background: linear-gradient(135deg, #cab41f, #8bca1f);
}
.shadow-cab41f {
box-shadow: 0 8px 24px rgb(202 180 31 / 0.35);
}
Old Gold
#cab41f rgb(202, 180, 31) hsl(52, 73%, 46%) Old Gold
#1f35ca rgb(31, 53, 202) hsl(232, 73%, 46%) Persian Blue
#1fcab4 rgb(31, 202, 180) hsl(172, 73%, 46%) Turquoise
#b41fca rgb(180, 31, 202) hsl(292, 73%, 46%) Dark Orchid