#dec428 ≈ Citrine
#dec428 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 15.69% blue; printed in CMYK it uses 0% cyan, 11.71% magenta, 81.98% yellow and 12.94% black. Its hue angle is 51.43°, 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.03:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.6.
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.5516 |
Shades
#dec428 mixed progressively with black.
Tints
#dec428 mixed progressively with white.
Tones
#dec428 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dec428 {
color: #dec428;
}
.bg-dec428 {
background-color: #dec428;
color: #000000;
}
.border-dec428 {
border: 2px solid #dec428;
}
:root {
--color-primary: #dec428;
--color-primary-rgb: 222 196 40;
--color-primary-hsl: 51 73% 51%;
}
.gradient-dec428 {
background: linear-gradient(135deg, #dec428, #9dde28);
}
.shadow-dec428 {
box-shadow: 0 8px 24px rgb(222 196 40 / 0.35);
}
Citrine
#dec428 rgb(222, 196, 40) hsl(51, 73%, 51%) Citrine
#2842de rgb(40, 66, 222) hsl(231, 73%, 51%) Persian Blue
#28dec4 rgb(40, 222, 196) hsl(171, 73%, 51%) Turquoise
#c428de rgb(196, 40, 222) hsl(291, 73%, 51%) Electric Purple