#dcc51f ≈ Citrine
#dcc51f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 86.27% red, 77.25% green and 12.16% blue; printed in CMYK it uses 0% cyan, 10.45% magenta, 85.91% yellow and 13.73% black. Its hue angle is 52.7°, with 75.3% saturation and 49.22% 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 brand accents. Black text on this color reaches a contrast ratio of 12.05:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 2.97.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cccc33 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.5525 |
Shades
#dcc51f mixed progressively with black.
Tints
#dcc51f mixed progressively with white.
Tones
#dcc51f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dcc51f {
color: #dcc51f;
}
.bg-dcc51f {
background-color: #dcc51f;
color: #000000;
}
.border-dcc51f {
border: 2px solid #dcc51f;
}
:root {
--color-primary: #dcc51f;
--color-primary-rgb: 220 197 31;
--color-primary-hsl: 53 75% 49%;
}
.gradient-dcc51f {
background: linear-gradient(135deg, #dcc51f, #95dc1f);
}
.shadow-dcc51f {
box-shadow: 0 8px 24px rgb(220 197 31 / 0.35);
}
Citrine
#dcc51f rgb(220, 197, 31) hsl(53, 75%, 49%) Citrine
#1f36dc rgb(31, 54, 220) hsl(233, 75%, 49%) Persian Blue
#1fdcc5 rgb(31, 220, 197) hsl(173, 75%, 49%) Turquoise
#c51fdc rgb(197, 31, 220) hsl(293, 75%, 49%) Electric Purple