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