#dec42e ≈ Citrine
#dec42e is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 87.06% red, 76.86% green and 18.04% blue; printed in CMYK it uses 0% cyan, 11.71% magenta, 79.28% yellow and 12.94% black. Its hue angle is 51.14°, 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 12.04:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.82.
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.5521 |
Shades
#dec42e mixed progressively with black.
Tints
#dec42e mixed progressively with white.
Tones
#dec42e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dec42e {
color: #dec42e;
}
.bg-dec42e {
background-color: #dec42e;
color: #000000;
}
.border-dec42e {
border: 2px solid #dec42e;
}
:root {
--color-primary: #dec42e;
--color-primary-rgb: 222 196 46;
--color-primary-hsl: 51 73% 53%;
}
.gradient-dec42e {
background: linear-gradient(135deg, #dec42e, #a0de2e);
}
.shadow-dec42e {
box-shadow: 0 8px 24px rgb(222 196 46 / 0.35);
}
Citrine
#dec42e rgb(222, 196, 46) hsl(51, 73%, 53%) Citrine
#2e48de rgb(46, 72, 222) hsl(231, 73%, 53%) Iris
#2edec4 rgb(46, 222, 196) hsl(171, 73%, 53%) Turquoise
#c42ede rgb(196, 46, 222) hsl(291, 73%, 53%) Electric Purple