#dcd96c ≈ Straw
#dcd96c 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 42.35% blue; printed in CMYK it uses 0% cyan, 1.36% magenta, 50.91% yellow and 13.73% black. Its hue angle is 58.39°, with 61.54% saturation and 64.31% 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.18:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 2.12.
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.6592 |
Shades
#dcd96c mixed progressively with black.
Tints
#dcd96c mixed progressively with white.
Tones
#dcd96c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dcd96c {
color: #dcd96c;
}
.bg-dcd96c {
background-color: #dcd96c;
color: #000000;
}
.border-dcd96c {
border: 2px solid #dcd96c;
}
:root {
--color-primary: #dcd96c;
--color-primary-rgb: 220 217 108;
--color-primary-hsl: 58 62% 64%;
}
.gradient-dcd96c {
background: linear-gradient(135deg, #dcd96c, #a7dc6c);
}
.shadow-dcd96c {
box-shadow: 0 8px 24px rgb(220 217 108 / 0.35);
}
Straw
#dcd96c rgb(220, 217, 108) hsl(58, 62%, 64%) Straw
#6c6fdc rgb(108, 111, 220) hsl(238, 62%, 64%) Medium Slate Blue
#6cdcd9 rgb(108, 220, 217) hsl(178, 62%, 64%) Medium Turquoise
#d96cdc rgb(217, 108, 220) hsl(298, 62%, 64%) Orchid