#dec024 ≈ Old Gold
#dec024 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 14.12% blue; printed in CMYK it uses 0% cyan, 13.51% magenta, 83.78% yellow and 12.94% black. Its hue angle is 50.32°, with 73.81% saturation and 50.59% 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.67: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.5336 |
Shades
#dec024 mixed progressively with black.
Tints
#dec024 mixed progressively with white.
Tones
#dec024 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dec024 {
color: #dec024;
}
.bg-dec024 {
background-color: #dec024;
color: #000000;
}
.border-dec024 {
border: 2px solid #dec024;
}
:root {
--color-primary: #dec024;
--color-primary-rgb: 222 192 36;
--color-primary-hsl: 50 74% 51%;
}
.gradient-dec024 {
background: linear-gradient(135deg, #dec024, #9fde24);
}
.shadow-dec024 {
box-shadow: 0 8px 24px rgb(222 192 36 / 0.35);
}
Old Gold
#dec024 rgb(222, 192, 36) hsl(50, 74%, 51%) Old Gold
#2442de rgb(36, 66, 222) hsl(230, 74%, 51%) Persian Blue
#24dec0 rgb(36, 222, 192) hsl(170, 74%, 51%) Turquoise
#c024de rgb(192, 36, 222) hsl(290, 74%, 51%) Electric Purple