#dcc107 ≈ Citrine
#dcc107 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 86.27% red, 75.69% green and 2.75% blue; printed in CMYK it uses 0% cyan, 12.27% magenta, 96.82% yellow and 13.73% black. Its hue angle is 52.39°, 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 11.67:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.91.
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.5337 |
Shades
#dcc107 mixed progressively with black.
Tints
#dcc107 mixed progressively with white.
Tones
#dcc107 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dcc107 {
color: #dcc107;
}
.bg-dcc107 {
background-color: #dcc107;
color: #000000;
}
.border-dcc107 {
border: 2px solid #dcc107;
}
:root {
--color-primary: #dcc107;
--color-primary-rgb: 220 193 7;
--color-primary-hsl: 52 94% 45%;
}
.gradient-dcc107 {
background: linear-gradient(135deg, #dcc107, #8ddc07);
}
.shadow-dcc107 {
box-shadow: 0 8px 24px rgb(220 193 7 / 0.35);
}
Citrine
#dcc107 rgb(220, 193, 7) hsl(52, 94%, 45%) Citrine
#0722dc rgb(7, 34, 220) hsl(232, 94%, 45%) Blue
#07dcc1 rgb(7, 220, 193) hsl(172, 94%, 45%) Turquoise
#c107dc rgb(193, 7, 220) hsl(292, 94%, 45%) Electric Purple