#decf04 ≈ Citrine
#decf04 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 87.06% red, 81.18% green and 1.57% blue; printed in CMYK it uses 0% cyan, 6.76% magenta, 98.2% yellow and 12.94% black. Its hue angle is 55.87°, 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 13.03:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.27.
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.6016 |
Shades
#decf04 mixed progressively with black.
Tints
#decf04 mixed progressively with white.
Tones
#decf04 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-decf04 {
color: #decf04;
}
.bg-decf04 {
background-color: #decf04;
color: #000000;
}
.border-decf04 {
border: 2px solid #decf04;
}
:root {
--color-primary: #decf04;
--color-primary-rgb: 222 207 4;
--color-primary-hsl: 56 96% 44%;
}
.gradient-decf04 {
background: linear-gradient(135deg, #decf04, #80de04);
}
.shadow-decf04 {
box-shadow: 0 8px 24px rgb(222 207 4 / 0.35);
}
Citrine
#decf04 rgb(222, 207, 4) hsl(56, 96%, 44%) Citrine
#0413de rgb(4, 19, 222) hsl(236, 96%, 44%) Medium Blue
#04decf rgb(4, 222, 207) hsl(176, 96%, 44%) Turquoise
#cf04de rgb(207, 4, 222) hsl(296, 96%, 44%) Electric Purple