#dcda7b ≈ Straw
#dcda7b 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.49% green and 48.24% blue; printed in CMYK it uses 0% cyan, 0.91% magenta, 44.09% yellow and 13.73% black. Its hue angle is 58.76°, with 58.08% saturation and 67.25% 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.36:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 2.98.
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.6679 |
Shades
#dcda7b mixed progressively with black.
Tints
#dcda7b mixed progressively with white.
Tones
#dcda7b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dcda7b {
color: #dcda7b;
}
.bg-dcda7b {
background-color: #dcda7b;
color: #000000;
}
.border-dcda7b {
border: 2px solid #dcda7b;
}
:root {
--color-primary: #dcda7b;
--color-primary-rgb: 220 218 123;
--color-primary-hsl: 59 58% 67%;
}
.gradient-dcda7b {
background: linear-gradient(135deg, #dcda7b, #addc7b);
}
.shadow-dcda7b {
box-shadow: 0 8px 24px rgb(220 218 123 / 0.35);
}
Straw
#dcda7b rgb(220, 218, 123) hsl(59, 58%, 67%) Straw
#7b7ddc rgb(123, 125, 220) hsl(239, 58%, 67%) Medium Slate Blue
#7bdcda rgb(123, 220, 218) hsl(179, 58%, 67%) Medium Turquoise
#da7bdc rgb(218, 123, 220) hsl(299, 58%, 67%) Orchid