#dcc707 ≈ Citrine
#dcc707 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.04% green and 2.75% blue; printed in CMYK it uses 0% cyan, 9.55% magenta, 96.82% yellow and 13.73% black. Its hue angle is 54.08°, with 93.83% saturation and 44.51% 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.22:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.2.
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.5608 |
Shades
#dcc707 mixed progressively with black.
Tints
#dcc707 mixed progressively with white.
Tones
#dcc707 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dcc707 {
color: #dcc707;
}
.bg-dcc707 {
background-color: #dcc707;
color: #000000;
}
.border-dcc707 {
border: 2px solid #dcc707;
}
:root {
--color-primary: #dcc707;
--color-primary-rgb: 220 199 7;
--color-primary-hsl: 54 94% 45%;
}
.gradient-dcc707 {
background: linear-gradient(135deg, #dcc707, #87dc07);
}
.shadow-dcc707 {
box-shadow: 0 8px 24px rgb(220 199 7 / 0.35);
}
Citrine
#dcc707 rgb(220, 199, 7) hsl(54, 94%, 45%) Citrine
#071cdc rgb(7, 28, 220) hsl(234, 94%, 45%) Medium Blue
#07dcc7 rgb(7, 220, 199) hsl(174, 94%, 45%) Turquoise
#c707dc rgb(199, 7, 220) hsl(294, 94%, 45%) Electric Purple