#dfdf5c ≈ Straw
#dfdf5c is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 87.45% red, 87.45% green and 36.08% blue; printed in CMYK it uses 0% cyan, 0% magenta, 58.74% yellow and 12.55% black. Its hue angle is 60°, 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 14.85:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.9.
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.6924 |
Shades
#dfdf5c mixed progressively with black.
Tints
#dfdf5c mixed progressively with white.
Tones
#dfdf5c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dfdf5c {
color: #dfdf5c;
}
.bg-dfdf5c {
background-color: #dfdf5c;
color: #000000;
}
.border-dfdf5c {
border: 2px solid #dfdf5c;
}
:root {
--color-primary: #dfdf5c;
--color-primary-rgb: 223 223 92;
--color-primary-hsl: 60 67% 62%;
}
.gradient-dfdf5c {
background: linear-gradient(135deg, #dfdf5c, #9ddf5c);
}
.shadow-dfdf5c {
box-shadow: 0 8px 24px rgb(223 223 92 / 0.35);
}
Straw
#dfdf5c rgb(223, 223, 92) hsl(60, 67%, 62%) Straw
#5c5cdf rgb(92, 92, 223) hsl(240, 67%, 62%) Slate Blue
#5cdfdf rgb(92, 223, 223) hsl(180, 67%, 62%) Medium Turquoise
#df5cdf rgb(223, 92, 223) hsl(300, 67%, 62%) Orchid