#dcd712 ≈ Dandelion
#dcd712 is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 86.27% red, 84.31% green and 7.06% blue; printed in CMYK it uses 0% cyan, 2.27% magenta, 91.82% yellow and 13.73% black. Its hue angle is 58.51°, with 84.87% saturation and 46.67% 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 13.77:1 (WCAG AAA). The closest named color is Dandelion (#f0e130), ΔE 3.51.
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.6386 |
Shades
#dcd712 mixed progressively with black.
Tints
#dcd712 mixed progressively with white.
Tones
#dcd712 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dcd712 {
color: #dcd712;
}
.bg-dcd712 {
background-color: #dcd712;
color: #000000;
}
.border-dcd712 {
border: 2px solid #dcd712;
}
:root {
--color-primary: #dcd712;
--color-primary-rgb: 220 215 18;
--color-primary-hsl: 59 85% 47%;
}
.gradient-dcd712 {
background: linear-gradient(135deg, #dcd712, #7cdc12);
}
.shadow-dcd712 {
box-shadow: 0 8px 24px rgb(220 215 18 / 0.35);
}
Dandelion
#dcd712 rgb(220, 215, 18) hsl(59, 85%, 47%) Dandelion
#1217dc rgb(18, 23, 220) hsl(239, 85%, 47%) Medium Blue
#12dcd7 rgb(18, 220, 215) hsl(179, 85%, 47%) Bright Turquoise
#d712dc rgb(215, 18, 220) hsl(299, 85%, 47%) Medium Orchid