#cbab2b ≈ Metallic Gold
#cbab2b is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 79.61% red, 67.06% green and 16.86% blue; printed in CMYK it uses 0% cyan, 15.76% magenta, 78.82% yellow and 20.39% black. Its hue angle is 48°, with 65.04% saturation and 48.24% 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 9.4:1 (WCAG AAA). The closest named color is Metallic Gold (#d4af37), ΔE 2.15.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc9933 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.42 |
Shades
#cbab2b mixed progressively with black.
Tints
#cbab2b mixed progressively with white.
Tones
#cbab2b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cbab2b {
color: #cbab2b;
}
.bg-cbab2b {
background-color: #cbab2b;
color: #000000;
}
.border-cbab2b {
border: 2px solid #cbab2b;
}
:root {
--color-primary: #cbab2b;
--color-primary-rgb: 203 171 43;
--color-primary-hsl: 48 65% 48%;
}
.gradient-cbab2b {
background: linear-gradient(135deg, #cbab2b, #9bcb2b);
}
.shadow-cbab2b {
box-shadow: 0 8px 24px rgb(203 171 43 / 0.35);
}
Metallic Gold
#cbab2b rgb(203, 171, 43) hsl(48, 65%, 48%) Metallic Gold
#2b4bcb rgb(43, 75, 203) hsl(228, 65%, 48%) Sapphire
#2bcbab rgb(43, 203, 171) hsl(168, 65%, 48%) Medium Aquamarine
#ab2bcb rgb(171, 43, 203) hsl(288, 65%, 48%) Dark Orchid