#cab40a ≈ Old Gold
#cab40a is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 79.22% red, 70.59% green and 3.92% blue; printed in CMYK it uses 0% cyan, 10.89% magenta, 95.05% yellow and 20.78% black. Its hue angle is 53.13°, with 90.57% saturation and 41.57% 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.04:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 3.24.
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.4522 |
Shades
#cab40a mixed progressively with black.
Tints
#cab40a mixed progressively with white.
Tones
#cab40a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cab40a {
color: #cab40a;
}
.bg-cab40a {
background-color: #cab40a;
color: #000000;
}
.border-cab40a {
border: 2px solid #cab40a;
}
:root {
--color-primary: #cab40a;
--color-primary-rgb: 202 180 10;
--color-primary-hsl: 53 91% 42%;
}
.gradient-cab40a {
background: linear-gradient(135deg, #cab40a, #80ca0a);
}
.shadow-cab40a {
box-shadow: 0 8px 24px rgb(202 180 10 / 0.35);
}
Old Gold
#cab40a rgb(202, 180, 10) hsl(53, 91%, 42%) Old Gold
#0a20ca rgb(10, 32, 202) hsl(233, 91%, 42%) Medium Blue
#0acab4 rgb(10, 202, 180) hsl(173, 91%, 42%) Turquoise
#b40aca rgb(180, 10, 202) hsl(293, 91%, 42%) Dark Orchid