#dcdb7f ≈ Straw
#dcdb7f 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.88% green and 49.8% blue; printed in CMYK it uses 0% cyan, 0.45% magenta, 42.27% yellow and 13.73% black. Its hue angle is 59.35°, 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 14.48:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.5.
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.6741 |
Shades
#dcdb7f mixed progressively with black.
Tints
#dcdb7f mixed progressively with white.
Tones
#dcdb7f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dcdb7f {
color: #dcdb7f;
}
.bg-dcdb7f {
background-color: #dcdb7f;
color: #000000;
}
.border-dcdb7f {
border: 2px solid #dcdb7f;
}
:root {
--color-primary: #dcdb7f;
--color-primary-rgb: 220 219 127;
--color-primary-hsl: 59 57% 68%;
}
.gradient-dcdb7f {
background: linear-gradient(135deg, #dcdb7f, #afdc7f);
}
.shadow-dcdb7f {
box-shadow: 0 8px 24px rgb(220 219 127 / 0.35);
}
Straw
#dcdb7f rgb(220, 219, 127) hsl(59, 57%, 68%) Straw
#7f80dc rgb(127, 128, 220) hsl(239, 57%, 68%) Medium Purple
#7fdcdb rgb(127, 220, 219) hsl(179, 57%, 68%) Medium Turquoise
#db7fdc rgb(219, 127, 220) hsl(299, 57%, 68%) Orchid