#cfbf21 ≈ Old Gold
#cfbf21 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 81.18% red, 74.9% green and 12.94% blue; printed in CMYK it uses 0% cyan, 7.73% magenta, 84.06% yellow and 18.82% black. Its hue angle is 54.48°, with 72.5% saturation and 47.06% 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 11.13:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 4.45.
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.5064 |
Shades
#cfbf21 mixed progressively with black.
Tints
#cfbf21 mixed progressively with white.
Tones
#cfbf21 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cfbf21 {
color: #cfbf21;
}
.bg-cfbf21 {
background-color: #cfbf21;
color: #000000;
}
.border-cfbf21 {
border: 2px solid #cfbf21;
}
:root {
--color-primary: #cfbf21;
--color-primary-rgb: 207 191 33;
--color-primary-hsl: 54 73% 47%;
}
.gradient-cfbf21 {
background: linear-gradient(135deg, #cfbf21, #88cf21);
}
.shadow-cfbf21 {
box-shadow: 0 8px 24px rgb(207 191 33 / 0.35);
}
Old Gold
#cfbf21 rgb(207, 191, 33) hsl(54, 73%, 47%) Old Gold
#2131cf rgb(33, 49, 207) hsl(234, 73%, 47%) Persian Blue
#21cfbf rgb(33, 207, 191) hsl(174, 73%, 47%) Turquoise
#bf21cf rgb(191, 33, 207) hsl(294, 73%, 47%) Electric Purple