#dcd54a ≈ Straw
#dcd54a is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 86.27% red, 83.53% green and 29.02% blue; printed in CMYK it uses 0% cyan, 3.18% magenta, 66.36% yellow and 13.73% black. Its hue angle is 57.12°, with 67.59% saturation and 57.65% 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.66:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.06.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cccc33 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.633 |
Shades
#dcd54a mixed progressively with black.
Tints
#dcd54a mixed progressively with white.
Tones
#dcd54a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dcd54a {
color: #dcd54a;
}
.bg-dcd54a {
background-color: #dcd54a;
color: #000000;
}
.border-dcd54a {
border: 2px solid #dcd54a;
}
:root {
--color-primary: #dcd54a;
--color-primary-rgb: 220 213 74;
--color-primary-hsl: 57 68% 58%;
}
.gradient-dcd54a {
background: linear-gradient(135deg, #dcd54a, #9adc4a);
}
.shadow-dcd54a {
box-shadow: 0 8px 24px rgb(220 213 74 / 0.35);
}
Straw
#dcd54a rgb(220, 213, 74) hsl(57, 68%, 58%) Straw
#4a51dc rgb(74, 81, 220) hsl(237, 68%, 58%) Iris
#4adcd5 rgb(74, 220, 213) hsl(177, 68%, 58%) Medium Turquoise
#d54adc rgb(213, 74, 220) hsl(297, 68%, 58%) Medium Orchid