#dfd45c ≈ Straw
#dfd45c is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 87.45% red, 83.14% green and 36.08% blue; printed in CMYK it uses 0% cyan, 4.93% magenta, 58.74% yellow and 12.55% black. Its hue angle is 54.96°, with 67.18% saturation and 61.76% 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 13.71:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 2.2.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cccc66 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.6355 |
Shades
#dfd45c mixed progressively with black.
Tints
#dfd45c mixed progressively with white.
Tones
#dfd45c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dfd45c {
color: #dfd45c;
}
.bg-dfd45c {
background-color: #dfd45c;
color: #000000;
}
.border-dfd45c {
border: 2px solid #dfd45c;
}
:root {
--color-primary: #dfd45c;
--color-primary-rgb: 223 212 92;
--color-primary-hsl: 55 67% 62%;
}
.gradient-dfd45c {
background: linear-gradient(135deg, #dfd45c, #a8df5c);
}
.shadow-dfd45c {
box-shadow: 0 8px 24px rgb(223 212 92 / 0.35);
}
Straw
#dfd45c rgb(223, 212, 92) hsl(55, 67%, 62%) Straw
#5c67df rgb(92, 103, 223) hsl(235, 67%, 62%) Ultramarine Blue
#5cdfd4 rgb(92, 223, 212) hsl(175, 67%, 62%) Turquoise
#d45cdf rgb(212, 92, 223) hsl(295, 67%, 62%) Orchid