#dcd812 ≈ Dandelion
#dcd812 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.71% green and 7.06% blue; printed in CMYK it uses 0% cyan, 1.82% magenta, 91.82% yellow and 13.73% black. Its hue angle is 58.81°, 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.87:1 (WCAG AAA). The closest named color is Dandelion (#f0e130), ΔE 3.52.
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.6437 |
Shades
#dcd812 mixed progressively with black.
Tints
#dcd812 mixed progressively with white.
Tones
#dcd812 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dcd812 {
color: #dcd812;
}
.bg-dcd812 {
background-color: #dcd812;
color: #000000;
}
.border-dcd812 {
border: 2px solid #dcd812;
}
:root {
--color-primary: #dcd812;
--color-primary-rgb: 220 216 18;
--color-primary-hsl: 59 85% 47%;
}
.gradient-dcd812 {
background: linear-gradient(135deg, #dcd812, #7bdc12);
}
.shadow-dcd812 {
box-shadow: 0 8px 24px rgb(220 216 18 / 0.35);
}
Dandelion
#dcd812 rgb(220, 216, 18) hsl(59, 85%, 47%) Dandelion
#1216dc rgb(18, 22, 220) hsl(239, 85%, 47%) Medium Blue
#12dcd8 rgb(18, 220, 216) hsl(179, 85%, 47%) Medium Turquoise
#d812dc rgb(216, 18, 220) hsl(299, 85%, 47%) Medium Orchid