#dcc80c ≈ Citrine
#dcc80c 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 4.71% blue; printed in CMYK it uses 0% cyan, 9.09% magenta, 94.55% yellow and 13.73% black. Its hue angle is 54.23°, with 89.66% saturation and 45.49% 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.99.
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.5655 |
Shades
#dcc80c mixed progressively with black.
Tints
#dcc80c mixed progressively with white.
Tones
#dcc80c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dcc80c {
color: #dcc80c;
}
.bg-dcc80c {
background-color: #dcc80c;
color: #000000;
}
.border-dcc80c {
border: 2px solid #dcc80c;
}
:root {
--color-primary: #dcc80c;
--color-primary-rgb: 220 200 12;
--color-primary-hsl: 54 90% 45%;
}
.gradient-dcc80c {
background: linear-gradient(135deg, #dcc80c, #88dc0c);
}
.shadow-dcc80c {
box-shadow: 0 8px 24px rgb(220 200 12 / 0.35);
}
Citrine
#dcc80c rgb(220, 200, 12) hsl(54, 90%, 45%) Citrine
#0c20dc rgb(12, 32, 220) hsl(234, 90%, 45%) Blue
#0cdcc8 rgb(12, 220, 200) hsl(174, 90%, 45%) Turquoise
#c80cdc rgb(200, 12, 220) hsl(294, 90%, 45%) Electric Purple