#caba1f ≈ Old Gold
#caba1f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 79.22% red, 72.94% green and 12.16% blue; printed in CMYK it uses 0% cyan, 7.92% magenta, 84.65% yellow and 20.78% black. Its hue angle is 54.39°, 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.55:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 3.82.
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.4777 |
Shades
#caba1f mixed progressively with black.
Tints
#caba1f mixed progressively with white.
Tones
#caba1f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-caba1f {
color: #caba1f;
}
.bg-caba1f {
background-color: #caba1f;
color: #000000;
}
.border-caba1f {
border: 2px solid #caba1f;
}
:root {
--color-primary: #caba1f;
--color-primary-rgb: 202 186 31;
--color-primary-hsl: 54 73% 46%;
}
.gradient-caba1f {
background: linear-gradient(135deg, #caba1f, #84ca1f);
}
.shadow-caba1f {
box-shadow: 0 8px 24px rgb(202 186 31 / 0.35);
}
Old Gold
#caba1f rgb(202, 186, 31) hsl(54, 73%, 46%) Old Gold
#1f2fca rgb(31, 47, 202) hsl(234, 73%, 46%) Persian Blue
#1fcaba rgb(31, 202, 186) hsl(174, 73%, 46%) Medium Turquoise
#ba1fca rgb(186, 31, 202) hsl(294, 73%, 46%) Dark Orchid