#dcc015 ≈ Citrine
#dcc015 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.29% green and 8.24% blue; printed in CMYK it uses 0% cyan, 12.73% magenta, 90.45% yellow and 13.73% black. Its hue angle is 51.56°, with 82.57% saturation and 47.25% 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.59:1 (WCAG AAA). The closest named color is Citrine (#e4d00a), ΔE 4.31.
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.5297 |
Shades
#dcc015 mixed progressively with black.
Tints
#dcc015 mixed progressively with white.
Tones
#dcc015 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dcc015 {
color: #dcc015;
}
.bg-dcc015 {
background-color: #dcc015;
color: #000000;
}
.border-dcc015 {
border: 2px solid #dcc015;
}
:root {
--color-primary: #dcc015;
--color-primary-rgb: 220 192 21;
--color-primary-hsl: 52 83% 47%;
}
.gradient-dcc015 {
background: linear-gradient(135deg, #dcc015, #94dc15);
}
.shadow-dcc015 {
box-shadow: 0 8px 24px rgb(220 192 21 / 0.35);
}
Citrine
#dcc015 rgb(220, 192, 21) hsl(52, 83%, 47%) Citrine
#1531dc rgb(21, 49, 220) hsl(232, 83%, 47%) Persian Blue
#15dcc0 rgb(21, 220, 192) hsl(172, 83%, 47%) Turquoise
#c015dc rgb(192, 21, 220) hsl(292, 83%, 47%) Electric Purple