#dcc41f ≈ Citrine
#dcc41f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 86.27% red, 76.86% green and 12.16% blue; printed in CMYK it uses 0% cyan, 10.91% magenta, 85.91% yellow and 13.73% black. Its hue angle is 52.38°, 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 11.96:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 3.24.
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.5479 |
Shades
#dcc41f mixed progressively with black.
Tints
#dcc41f mixed progressively with white.
Tones
#dcc41f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dcc41f {
color: #dcc41f;
}
.bg-dcc41f {
background-color: #dcc41f;
color: #000000;
}
.border-dcc41f {
border: 2px solid #dcc41f;
}
:root {
--color-primary: #dcc41f;
--color-primary-rgb: 220 196 31;
--color-primary-hsl: 52 75% 49%;
}
.gradient-dcc41f {
background: linear-gradient(135deg, #dcc41f, #96dc1f);
}
.shadow-dcc41f {
box-shadow: 0 8px 24px rgb(220 196 31 / 0.35);
}
Citrine
#dcc41f rgb(220, 196, 31) hsl(52, 75%, 49%) Citrine
#1f37dc rgb(31, 55, 220) hsl(232, 75%, 49%) Persian Blue
#1fdcc4 rgb(31, 220, 196) hsl(172, 75%, 49%) Turquoise
#c41fdc rgb(196, 31, 220) hsl(292, 75%, 49%) Electric Purple