#dcc022 ≈ Old Gold
#dcc022 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 86.27% red, 75.29% green and 13.33% blue; printed in CMYK it uses 0% cyan, 12.73% magenta, 84.55% yellow and 13.73% black. Its hue angle is 50.97°, with 73.23% saturation and 49.8% 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.61:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 4.08.
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.5303 |
Shades
#dcc022 mixed progressively with black.
Tints
#dcc022 mixed progressively with white.
Tones
#dcc022 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dcc022 {
color: #dcc022;
}
.bg-dcc022 {
background-color: #dcc022;
color: #000000;
}
.border-dcc022 {
border: 2px solid #dcc022;
}
:root {
--color-primary: #dcc022;
--color-primary-rgb: 220 192 34;
--color-primary-hsl: 51 73% 50%;
}
.gradient-dcc022 {
background: linear-gradient(135deg, #dcc022, #9bdc22);
}
.shadow-dcc022 {
box-shadow: 0 8px 24px rgb(220 192 34 / 0.35);
}
Old Gold
#dcc022 rgb(220, 192, 34) hsl(51, 73%, 50%) Old Gold
#223edc rgb(34, 62, 220) hsl(231, 73%, 50%) Persian Blue
#22dcc0 rgb(34, 220, 192) hsl(171, 73%, 50%) Turquoise
#c022dc rgb(192, 34, 220) hsl(291, 73%, 50%) Electric Purple