#cab40b ≈ Old Gold
#cab40b 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 4.31% blue; printed in CMYK it uses 0% cyan, 10.89% magenta, 94.55% yellow and 20.78% black. Its hue angle is 53.09°, with 89.67% saturation and 41.76% 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.22.
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
#cab40b mixed progressively with black.
Tints
#cab40b mixed progressively with white.
Tones
#cab40b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cab40b {
color: #cab40b;
}
.bg-cab40b {
background-color: #cab40b;
color: #000000;
}
.border-cab40b {
border: 2px solid #cab40b;
}
:root {
--color-primary: #cab40b;
--color-primary-rgb: 202 180 11;
--color-primary-hsl: 53 90% 42%;
}
.gradient-cab40b {
background: linear-gradient(135deg, #cab40b, #80ca0b);
}
.shadow-cab40b {
box-shadow: 0 8px 24px rgb(202 180 11 / 0.35);
}
Old Gold
#cab40b rgb(202, 180, 11) hsl(53, 90%, 42%) Old Gold
#0b21ca rgb(11, 33, 202) hsl(233, 90%, 42%) Medium Blue
#0bcab4 rgb(11, 202, 180) hsl(173, 90%, 42%) Turquoise
#b40bca rgb(180, 11, 202) hsl(293, 90%, 42%) Dark Orchid