#dec528 ≈ Citrine
#dec528 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 15.69% blue; printed in CMYK it uses 0% cyan, 11.26% magenta, 81.98% yellow and 12.94% black. Its hue angle is 51.76°, with 73.39% saturation and 51.37% 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.12:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.3.
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.5562 |
Shades
#dec528 mixed progressively with black.
Tints
#dec528 mixed progressively with white.
Tones
#dec528 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dec528 {
color: #dec528;
}
.bg-dec528 {
background-color: #dec528;
color: #000000;
}
.border-dec528 {
border: 2px solid #dec528;
}
:root {
--color-primary: #dec528;
--color-primary-rgb: 222 197 40;
--color-primary-hsl: 52 73% 51%;
}
.gradient-dec528 {
background: linear-gradient(135deg, #dec528, #9cde28);
}
.shadow-dec528 {
box-shadow: 0 8px 24px rgb(222 197 40 / 0.35);
}
Citrine
#dec528 rgb(222, 197, 40) hsl(52, 73%, 51%) Citrine
#2841de rgb(40, 65, 222) hsl(232, 73%, 51%) Persian Blue
#28dec5 rgb(40, 222, 197) hsl(172, 73%, 51%) Turquoise
#c528de rgb(197, 40, 222) hsl(292, 73%, 51%) Electric Purple