#dcd57f ≈ Straw
#dcd57f is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 86.27% red, 83.53% green and 49.8% blue; printed in CMYK it uses 0% cyan, 3.18% magenta, 42.27% yellow and 13.73% black. Its hue angle is 55.48°, with 57.06% saturation and 68.04% 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.87:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.32.
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.6434 |
Shades
#dcd57f mixed progressively with black.
Tints
#dcd57f mixed progressively with white.
Tones
#dcd57f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dcd57f {
color: #dcd57f;
}
.bg-dcd57f {
background-color: #dcd57f;
color: #000000;
}
.border-dcd57f {
border: 2px solid #dcd57f;
}
:root {
--color-primary: #dcd57f;
--color-primary-rgb: 220 213 127;
--color-primary-hsl: 55 57% 68%;
}
.gradient-dcd57f {
background: linear-gradient(135deg, #dcd57f, #b5dc7f);
}
.shadow-dcd57f {
box-shadow: 0 8px 24px rgb(220 213 127 / 0.35);
}
Straw
#dcd57f rgb(220, 213, 127) hsl(55, 57%, 68%) Straw
#7f86dc rgb(127, 134, 220) hsl(235, 57%, 68%) Glaucous
#7fdcd5 rgb(127, 220, 213) hsl(175, 57%, 68%) Medium Turquoise
#d57fdc rgb(213, 127, 220) hsl(295, 57%, 68%) Orchid