#dfd70c ≈ Dandelion
#dfd70c is a color from the yellow family, with medium lightness and vivid saturation. In the RGB model it is made of 87.45% red, 84.31% green and 4.71% blue; printed in CMYK it uses 0% cyan, 3.59% magenta, 94.62% yellow and 12.55% black. Its hue angle is 57.73°, with 89.79% saturation and 46.08% 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.86:1 (WCAG AAA). The closest named color is Dandelion (#f0e130), ΔE 3.05.
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.6432 |
Shades
#dfd70c mixed progressively with black.
Tints
#dfd70c mixed progressively with white.
Tones
#dfd70c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dfd70c {
color: #dfd70c;
}
.bg-dfd70c {
background-color: #dfd70c;
color: #000000;
}
.border-dfd70c {
border: 2px solid #dfd70c;
}
:root {
--color-primary: #dfd70c;
--color-primary-rgb: 223 215 12;
--color-primary-hsl: 58 90% 46%;
}
.gradient-dfd70c {
background: linear-gradient(135deg, #dfd70c, #7ddf0c);
}
.shadow-dfd70c {
box-shadow: 0 8px 24px rgb(223 215 12 / 0.35);
}
Dandelion
#dfd70c rgb(223, 215, 12) hsl(58, 90%, 46%) Dandelion
#0c14df rgb(12, 20, 223) hsl(238, 90%, 46%) Medium Blue
#0cdfd7 rgb(12, 223, 215) hsl(178, 90%, 46%) Bright Turquoise
#d70cdf rgb(215, 12, 223) hsl(298, 90%, 46%) Electric Purple