#dcd45e ≈ Straw
#dcd45e is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 86.27% red, 83.14% green and 36.86% blue; printed in CMYK it uses 0% cyan, 3.64% magenta, 57.27% yellow and 13.73% black. Its hue angle is 56.19°, with 64.29% saturation and 61.57% 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.62:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 2.18.
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.6311 |
Shades
#dcd45e mixed progressively with black.
Tints
#dcd45e mixed progressively with white.
Tones
#dcd45e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dcd45e {
color: #dcd45e;
}
.bg-dcd45e {
background-color: #dcd45e;
color: #000000;
}
.border-dcd45e {
border: 2px solid #dcd45e;
}
:root {
--color-primary: #dcd45e;
--color-primary-rgb: 220 212 94;
--color-primary-hsl: 56 64% 62%;
}
.gradient-dcd45e {
background: linear-gradient(135deg, #dcd45e, #a5dc5e);
}
.shadow-dcd45e {
box-shadow: 0 8px 24px rgb(220 212 94 / 0.35);
}
Straw
#dcd45e rgb(220, 212, 94) hsl(56, 64%, 62%) Straw
#5e66dc rgb(94, 102, 220) hsl(236, 64%, 62%) Ultramarine Blue
#5edcd4 rgb(94, 220, 212) hsl(176, 64%, 62%) Medium Turquoise
#d45edc rgb(212, 94, 220) hsl(296, 64%, 62%) Orchid