#cfb222 ≈ Old Gold
#cfb222 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 81.18% red, 69.8% green and 13.33% blue; printed in CMYK it uses 0% cyan, 14.01% magenta, 83.57% yellow and 18.82% black. Its hue angle is 49.94°, with 71.78% saturation and 47.25% 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.04:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 2.05.
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.4522 |
Shades
#cfb222 mixed progressively with black.
Tints
#cfb222 mixed progressively with white.
Tones
#cfb222 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cfb222 {
color: #cfb222;
}
.bg-cfb222 {
background-color: #cfb222;
color: #000000;
}
.border-cfb222 {
border: 2px solid #cfb222;
}
:root {
--color-primary: #cfb222;
--color-primary-rgb: 207 178 34;
--color-primary-hsl: 50 72% 47%;
}
.gradient-cfb222 {
background: linear-gradient(135deg, #cfb222, #95cf22);
}
.shadow-cfb222 {
box-shadow: 0 8px 24px rgb(207 178 34 / 0.35);
}
Old Gold
#cfb222 rgb(207, 178, 34) hsl(50, 72%, 47%) Old Gold
#223fcf rgb(34, 63, 207) hsl(230, 72%, 47%) Persian Blue
#22cfb2 rgb(34, 207, 178) hsl(170, 72%, 47%) Medium Aquamarine
#b222cf rgb(178, 34, 207) hsl(290, 72%, 47%) Dark Orchid