#dcc808 ≈ Citrine
#dcc808 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 86.27% red, 78.43% green and 3.14% blue; printed in CMYK it uses 0% cyan, 9.09% magenta, 96.36% yellow and 13.73% black. Its hue angle is 54.34°, with 92.98% saturation and 44.71% 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.31:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 1.97.
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.5654 |
Shades
#dcc808 mixed progressively with black.
Tints
#dcc808 mixed progressively with white.
Tones
#dcc808 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dcc808 {
color: #dcc808;
}
.bg-dcc808 {
background-color: #dcc808;
color: #000000;
}
.border-dcc808 {
border: 2px solid #dcc808;
}
:root {
--color-primary: #dcc808;
--color-primary-rgb: 220 200 8;
--color-primary-hsl: 54 93% 45%;
}
.gradient-dcc808 {
background: linear-gradient(135deg, #dcc808, #86dc08);
}
.shadow-dcc808 {
box-shadow: 0 8px 24px rgb(220 200 8 / 0.35);
}
Citrine
#dcc808 rgb(220, 200, 8) hsl(54, 93%, 45%) Citrine
#081cdc rgb(8, 28, 220) hsl(234, 93%, 45%) Medium Blue
#08dcc8 rgb(8, 220, 200) hsl(174, 93%, 45%) Turquoise
#c808dc rgb(200, 8, 220) hsl(294, 93%, 45%) Electric Purple