#dec126 ≈ Old Gold
#dec126 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.69% green and 14.9% blue; printed in CMYK it uses 0% cyan, 13.06% magenta, 82.88% yellow and 12.94% black. Its hue angle is 50.54°, with 73.6% saturation and 50.98% 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.76: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.5381 |
Shades
#dec126 mixed progressively with black.
Tints
#dec126 mixed progressively with white.
Tones
#dec126 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dec126 {
color: #dec126;
}
.bg-dec126 {
background-color: #dec126;
color: #000000;
}
.border-dec126 {
border: 2px solid #dec126;
}
:root {
--color-primary: #dec126;
--color-primary-rgb: 222 193 38;
--color-primary-hsl: 51 74% 51%;
}
.gradient-dec126 {
background: linear-gradient(135deg, #dec126, #9fde26);
}
.shadow-dec126 {
box-shadow: 0 8px 24px rgb(222 193 38 / 0.35);
}
Old Gold
#dec126 rgb(222, 193, 38) hsl(51, 74%, 51%) Old Gold
#2643de rgb(38, 67, 222) hsl(231, 74%, 51%) Persian Blue
#26dec1 rgb(38, 222, 193) hsl(171, 74%, 51%) Turquoise
#c126de rgb(193, 38, 222) hsl(291, 74%, 51%) Electric Purple