#dcd174 ≈ Straw
#dcd174 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 86.27% red, 81.96% green and 45.49% blue; printed in CMYK it uses 0% cyan, 5% magenta, 47.27% yellow and 13.73% black. Its hue angle is 53.65°, with 59.77% saturation and 65.88% 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 13.42:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 2.53.
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.6208 |
Shades
#dcd174 mixed progressively with black.
Tints
#dcd174 mixed progressively with white.
Tones
#dcd174 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dcd174 {
color: #dcd174;
}
.bg-dcd174 {
background-color: #dcd174;
color: #000000;
}
.border-dcd174 {
border: 2px solid #dcd174;
}
:root {
--color-primary: #dcd174;
--color-primary-rgb: 220 209 116;
--color-primary-hsl: 54 60% 66%;
}
.gradient-dcd174 {
background: linear-gradient(135deg, #dcd174, #b3dc74);
}
.shadow-dcd174 {
box-shadow: 0 8px 24px rgb(220 209 116 / 0.35);
}
Straw
#dcd174 rgb(220, 209, 116) hsl(54, 60%, 66%) Straw
#747fdc rgb(116, 127, 220) hsl(234, 60%, 66%) Glaucous
#74dcd1 rgb(116, 220, 209) hsl(174, 60%, 66%) Turquoise
#d174dc rgb(209, 116, 220) hsl(294, 60%, 66%) Orchid