#dcd981 ≈ Straw
#dcd981 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 86.27% red, 85.1% green and 50.59% blue; printed in CMYK it uses 0% cyan, 1.36% magenta, 41.36% yellow and 13.73% black. Its hue angle is 58.02°, with 56.52% saturation and 68.43% 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.29:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.54.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cccc99 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.6643 |
Shades
#dcd981 mixed progressively with black.
Tints
#dcd981 mixed progressively with white.
Tones
#dcd981 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dcd981 {
color: #dcd981;
}
.bg-dcd981 {
background-color: #dcd981;
color: #000000;
}
.border-dcd981 {
border: 2px solid #dcd981;
}
:root {
--color-primary: #dcd981;
--color-primary-rgb: 220 217 129;
--color-primary-hsl: 58 57% 68%;
}
.gradient-dcd981 {
background: linear-gradient(135deg, #dcd981, #b1dc81);
}
.shadow-dcd981 {
box-shadow: 0 8px 24px rgb(220 217 129 / 0.35);
}
Straw
#dcd981 rgb(220, 217, 129) hsl(58, 57%, 68%) Straw
#8184dc rgb(129, 132, 220) hsl(238, 57%, 68%) Medium Purple
#81dcd9 rgb(129, 220, 217) hsl(178, 57%, 68%) Medium Turquoise
#d981dc rgb(217, 129, 220) hsl(298, 57%, 68%) Orchid