#dccd04 ≈ Citrine
#dccd04 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 86.27% red, 80.39% green and 1.57% blue; printed in CMYK it uses 0% cyan, 6.82% magenta, 98.18% yellow and 13.73% black. Its hue angle is 55.83°, with 96.43% saturation and 43.92% 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.78:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.51.
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.5889 |
Shades
#dccd04 mixed progressively with black.
Tints
#dccd04 mixed progressively with white.
Tones
#dccd04 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dccd04 {
color: #dccd04;
}
.bg-dccd04 {
background-color: #dccd04;
color: #000000;
}
.border-dccd04 {
border: 2px solid #dccd04;
}
:root {
--color-primary: #dccd04;
--color-primary-rgb: 220 205 4;
--color-primary-hsl: 56 96% 44%;
}
.gradient-dccd04 {
background: linear-gradient(135deg, #dccd04, #7fdc04);
}
.shadow-dccd04 {
box-shadow: 0 8px 24px rgb(220 205 4 / 0.35);
}
Citrine
#dccd04 rgb(220, 205, 4) hsl(56, 96%, 44%) Citrine
#0413dc rgb(4, 19, 220) hsl(236, 96%, 44%) Medium Blue
#04dccd rgb(4, 220, 205) hsl(176, 96%, 44%) Turquoise
#cd04dc rgb(205, 4, 220) hsl(296, 96%, 44%) Electric Purple