#dfdc7a ≈ Straw
#dfdc7a is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 87.45% red, 86.27% green and 47.84% blue; printed in CMYK it uses 0% cyan, 1.35% magenta, 45.29% yellow and 12.55% black. Its hue angle is 58.22°, with 61.21% saturation and 67.65% 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.66:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 2.53.
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.6828 |
Shades
#dfdc7a mixed progressively with black.
Tints
#dfdc7a mixed progressively with white.
Tones
#dfdc7a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dfdc7a {
color: #dfdc7a;
}
.bg-dfdc7a {
background-color: #dfdc7a;
color: #000000;
}
.border-dfdc7a {
border: 2px solid #dfdc7a;
}
:root {
--color-primary: #dfdc7a;
--color-primary-rgb: 223 220 122;
--color-primary-hsl: 58 61% 68%;
}
.gradient-dfdc7a {
background: linear-gradient(135deg, #dfdc7a, #b0df7a);
}
.shadow-dfdc7a {
box-shadow: 0 8px 24px rgb(223 220 122 / 0.35);
}
Straw
#dfdc7a rgb(223, 220, 122) hsl(58, 61%, 68%) Straw
#7a7ddf rgb(122, 125, 223) hsl(238, 61%, 68%) Medium Slate Blue
#7adfdc rgb(122, 223, 220) hsl(178, 61%, 68%) Medium Turquoise
#dc7adf rgb(220, 122, 223) hsl(298, 61%, 68%) Orchid