#cabb1f ≈ Old Gold
#cabb1f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 79.22% red, 73.33% green and 12.16% blue; printed in CMYK it uses 0% cyan, 7.43% magenta, 84.65% yellow and 20.78% black. Its hue angle is 54.74°, 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.64:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 4.1.
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.482 |
Shades
#cabb1f mixed progressively with black.
Tints
#cabb1f mixed progressively with white.
Tones
#cabb1f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cabb1f {
color: #cabb1f;
}
.bg-cabb1f {
background-color: #cabb1f;
color: #000000;
}
.border-cabb1f {
border: 2px solid #cabb1f;
}
:root {
--color-primary: #cabb1f;
--color-primary-rgb: 202 187 31;
--color-primary-hsl: 55 73% 46%;
}
.gradient-cabb1f {
background: linear-gradient(135deg, #cabb1f, #84ca1f);
}
.shadow-cabb1f {
box-shadow: 0 8px 24px rgb(202 187 31 / 0.35);
}
Old Gold
#cabb1f rgb(202, 187, 31) hsl(55, 73%, 46%) Old Gold
#1f2eca rgb(31, 46, 202) hsl(235, 73%, 46%) Persian Blue
#1fcabb rgb(31, 202, 187) hsl(175, 73%, 46%) Medium Turquoise
#bb1fca rgb(187, 31, 202) hsl(295, 73%, 46%) Dark Orchid