#dcd951 ≈ Straw
#dcd951 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 86.27% red, 85.1% green and 31.76% blue; printed in CMYK it uses 0% cyan, 1.36% magenta, 63.18% yellow and 13.73% black. Its hue angle is 58.71°, with 66.51% saturation and 59.02% 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.09:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.89.
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.6544 |
Shades
#dcd951 mixed progressively with black.
Tints
#dcd951 mixed progressively with white.
Tones
#dcd951 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dcd951 {
color: #dcd951;
}
.bg-dcd951 {
background-color: #dcd951;
color: #000000;
}
.border-dcd951 {
border: 2px solid #dcd951;
}
:root {
--color-primary: #dcd951;
--color-primary-rgb: 220 217 81;
--color-primary-hsl: 59 67% 59%;
}
.gradient-dcd951 {
background: linear-gradient(135deg, #dcd951, #99dc51);
}
.shadow-dcd951 {
box-shadow: 0 8px 24px rgb(220 217 81 / 0.35);
}
Straw
#dcd951 rgb(220, 217, 81) hsl(59, 67%, 59%) Straw
#5154dc rgb(81, 84, 220) hsl(239, 67%, 59%) Majorelle Blue
#51dcd9 rgb(81, 220, 217) hsl(179, 67%, 59%) Medium Turquoise
#d951dc rgb(217, 81, 220) hsl(299, 67%, 59%) Medium Orchid