#dec138 ≈ Old Gold
#dec138 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 21.96% blue; printed in CMYK it uses 0% cyan, 13.06% magenta, 74.77% yellow and 12.94% black. Its hue angle is 49.52°, with 71.55% saturation and 54.51% 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.79:1 (WCAG AAA). The closest named color is Old Gold (#cfb53b), ΔE 3.57.
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.5396 |
Shades
#dec138 mixed progressively with black.
Tints
#dec138 mixed progressively with white.
Tones
#dec138 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dec138 {
color: #dec138;
}
.bg-dec138 {
background-color: #dec138;
color: #000000;
}
.border-dec138 {
border: 2px solid #dec138;
}
:root {
--color-primary: #dec138;
--color-primary-rgb: 222 193 56;
--color-primary-hsl: 50 72% 55%;
}
.gradient-dec138 {
background: linear-gradient(135deg, #dec138, #a8de38);
}
.shadow-dec138 {
box-shadow: 0 8px 24px rgb(222 193 56 / 0.35);
}
Old Gold
#dec138 rgb(222, 193, 56) hsl(50, 72%, 55%) Old Gold
#3855de rgb(56, 85, 222) hsl(230, 72%, 55%) Iris
#38dec1 rgb(56, 222, 193) hsl(170, 72%, 55%) Turquoise
#c138de rgb(193, 56, 222) hsl(290, 72%, 55%) Medium Orchid