#dec72d ≈ Citrine
#dec72d is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 87.06% red, 78.04% green and 17.65% blue; printed in CMYK it uses 0% cyan, 10.36% magenta, 79.73% yellow and 12.94% black. Its hue angle is 52.2°, with 72.84% saturation and 52.35% 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.31:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.95.
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.5657 |
Shades
#dec72d mixed progressively with black.
Tints
#dec72d mixed progressively with white.
Tones
#dec72d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dec72d {
color: #dec72d;
}
.bg-dec72d {
background-color: #dec72d;
color: #000000;
}
.border-dec72d {
border: 2px solid #dec72d;
}
:root {
--color-primary: #dec72d;
--color-primary-rgb: 222 199 45;
--color-primary-hsl: 52 73% 52%;
}
.gradient-dec72d {
background: linear-gradient(135deg, #dec72d, #9dde2d);
}
.shadow-dec72d {
box-shadow: 0 8px 24px rgb(222 199 45 / 0.35);
}
Citrine
#dec72d rgb(222, 199, 45) hsl(52, 73%, 52%) Citrine
#2d44de rgb(45, 68, 222) hsl(232, 73%, 52%) Iris
#2ddec7 rgb(45, 222, 199) hsl(172, 73%, 52%) Turquoise
#c72dde rgb(199, 45, 222) hsl(292, 73%, 52%) Electric Purple