#dec02e ≈ Old Gold
#dec02e is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 87.06% red, 75.29% green and 18.04% blue; printed in CMYK it uses 0% cyan, 13.51% magenta, 79.28% yellow and 12.94% black. Its hue angle is 49.77°, with 72.73% saturation and 52.55% 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.69:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 3.76.
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.5343 |
Shades
#dec02e mixed progressively with black.
Tints
#dec02e mixed progressively with white.
Tones
#dec02e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dec02e {
color: #dec02e;
}
.bg-dec02e {
background-color: #dec02e;
color: #000000;
}
.border-dec02e {
border: 2px solid #dec02e;
}
:root {
--color-primary: #dec02e;
--color-primary-rgb: 222 192 46;
--color-primary-hsl: 50 73% 53%;
}
.gradient-dec02e {
background: linear-gradient(135deg, #dec02e, #a4de2e);
}
.shadow-dec02e {
box-shadow: 0 8px 24px rgb(222 192 46 / 0.35);
}
Old Gold
#dec02e rgb(222, 192, 46) hsl(50, 73%, 53%) Old Gold
#2e4cde rgb(46, 76, 222) hsl(230, 73%, 53%) Iris
#2edec0 rgb(46, 222, 192) hsl(170, 73%, 53%) Turquoise
#c02ede rgb(192, 46, 222) hsl(290, 73%, 53%) Electric Purple