#cabb2f ≈ Old Gold
#cabb2f 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 18.43% blue; printed in CMYK it uses 0% cyan, 7.43% magenta, 76.73% yellow and 20.78% black. Its hue angle is 54.19°, with 62.25% saturation and 48.82% 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.66:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 3.57.
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.483 |
Shades
#cabb2f mixed progressively with black.
Tints
#cabb2f mixed progressively with white.
Tones
#cabb2f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cabb2f {
color: #cabb2f;
}
.bg-cabb2f {
background-color: #cabb2f;
color: #000000;
}
.border-cabb2f {
border: 2px solid #cabb2f;
}
:root {
--color-primary: #cabb2f;
--color-primary-rgb: 202 187 47;
--color-primary-hsl: 54 62% 49%;
}
.gradient-cabb2f {
background: linear-gradient(135deg, #cabb2f, #8bca2f);
}
.shadow-cabb2f {
box-shadow: 0 8px 24px rgb(202 187 47 / 0.35);
}
Old Gold
#cabb2f rgb(202, 187, 47) hsl(54, 62%, 49%) Old Gold
#2f3eca rgb(47, 62, 202) hsl(234, 62%, 49%) Persian Blue
#2fcabb rgb(47, 202, 187) hsl(174, 62%, 49%) Medium Turquoise
#bb2fca rgb(187, 47, 202) hsl(294, 62%, 49%) Medium Orchid