#dec22b ≈ Old Gold
#dec22b 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 16.86% blue; printed in CMYK it uses 0% cyan, 12.61% magenta, 80.63% yellow and 12.94% black. Its hue angle is 50.61°, with 73.06% saturation and 51.96% 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.22.
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.5429 |
Shades
#dec22b mixed progressively with black.
Tints
#dec22b mixed progressively with white.
Tones
#dec22b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dec22b {
color: #dec22b;
}
.bg-dec22b {
background-color: #dec22b;
color: #000000;
}
.border-dec22b {
border: 2px solid #dec22b;
}
:root {
--color-primary: #dec22b;
--color-primary-rgb: 222 194 43;
--color-primary-hsl: 51 73% 52%;
}
.gradient-dec22b {
background: linear-gradient(135deg, #dec22b, #a1de2b);
}
.shadow-dec22b {
box-shadow: 0 8px 24px rgb(222 194 43 / 0.35);
}
Old Gold
#dec22b rgb(222, 194, 43) hsl(51, 73%, 52%) Old Gold
#2b47de rgb(43, 71, 222) hsl(231, 73%, 52%) Iris
#2bdec2 rgb(43, 222, 194) hsl(171, 73%, 52%) Turquoise
#c22bde rgb(194, 43, 222) hsl(291, 73%, 52%) Electric Purple