#dec040 ≈ Old Gold
#dec040 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 25.1% blue; printed in CMYK it uses 0% cyan, 13.51% magenta, 71.17% yellow and 12.94% black. Its hue angle is 48.61°, with 70.54% saturation and 56.08% 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.72:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 3.24.
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.536 |
Shades
#dec040 mixed progressively with black.
Tints
#dec040 mixed progressively with white.
Tones
#dec040 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dec040 {
color: #dec040;
}
.bg-dec040 {
background-color: #dec040;
color: #000000;
}
.border-dec040 {
border: 2px solid #dec040;
}
:root {
--color-primary: #dec040;
--color-primary-rgb: 222 192 64;
--color-primary-hsl: 49 71% 56%;
}
.gradient-dec040 {
background: linear-gradient(135deg, #dec040, #adde40);
}
.shadow-dec040 {
box-shadow: 0 8px 24px rgb(222 192 64 / 0.35);
}
Old Gold
#dec040 rgb(222, 192, 64) hsl(49, 71%, 56%) Old Gold
#405ede rgb(64, 94, 222) hsl(229, 71%, 56%) Royal Blue
#40dec0 rgb(64, 222, 192) hsl(169, 71%, 56%) Turquoise
#c040de rgb(192, 64, 222) hsl(289, 71%, 56%) Medium Orchid