#dec22d ≈ Old Gold
#dec22d is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 87.06% red, 76.08% green and 17.65% blue; printed in CMYK it uses 0% cyan, 12.61% magenta, 79.73% yellow and 12.94% black. Its hue angle is 50.51°, with 72.84% saturation and 52.35% 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.86:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 4.14.
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.543 |
Shades
#dec22d mixed progressively with black.
Tints
#dec22d mixed progressively with white.
Tones
#dec22d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dec22d {
color: #dec22d;
}
.bg-dec22d {
background-color: #dec22d;
color: #000000;
}
.border-dec22d {
border: 2px solid #dec22d;
}
:root {
--color-primary: #dec22d;
--color-primary-rgb: 222 194 45;
--color-primary-hsl: 51 73% 52%;
}
.gradient-dec22d {
background: linear-gradient(135deg, #dec22d, #a1de2d);
}
.shadow-dec22d {
box-shadow: 0 8px 24px rgb(222 194 45 / 0.35);
}
Old Gold
#dec22d rgb(222, 194, 45) hsl(51, 73%, 52%) Old Gold
#2d49de rgb(45, 73, 222) hsl(231, 73%, 52%) Iris
#2ddec2 rgb(45, 222, 194) hsl(171, 73%, 52%) Turquoise
#c22dde rgb(194, 45, 222) hsl(291, 73%, 52%) Electric Purple