#dec804 ≈ Citrine
#dec804 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 87.06% red, 78.43% green and 1.57% blue; printed in CMYK it uses 0% cyan, 9.91% magenta, 98.2% yellow and 12.94% black. Its hue angle is 53.94°, with 96.46% saturation and 44.31% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 12.37:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.95.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cccc00 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.5685 |
Shades
#dec804 mixed progressively with black.
Tints
#dec804 mixed progressively with white.
Tones
#dec804 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dec804 {
color: #dec804;
}
.bg-dec804 {
background-color: #dec804;
color: #000000;
}
.border-dec804 {
border: 2px solid #dec804;
}
:root {
--color-primary: #dec804;
--color-primary-rgb: 222 200 4;
--color-primary-hsl: 54 96% 44%;
}
.gradient-dec804 {
background: linear-gradient(135deg, #dec804, #87de04);
}
.shadow-dec804 {
box-shadow: 0 8px 24px rgb(222 200 4 / 0.35);
}
Citrine
#dec804 rgb(222, 200, 4) hsl(54, 96%, 44%) Citrine
#041ade rgb(4, 26, 222) hsl(234, 96%, 44%) Medium Blue
#04dec8 rgb(4, 222, 200) hsl(174, 96%, 44%) Turquoise
#c804de rgb(200, 4, 222) hsl(294, 96%, 44%) Electric Purple