#d2ca4c ≈ Straw
#d2ca4c is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 82.35% red, 79.22% green and 29.8% blue; printed in CMYK it uses 0% cyan, 3.81% magenta, 63.81% yellow and 17.65% black. Its hue angle is 56.42°, with 59.82% saturation and 56.08% 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 12.29:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.62.
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.5646 |
Shades
#d2ca4c mixed progressively with black.
Tints
#d2ca4c mixed progressively with white.
Tones
#d2ca4c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d2ca4c {
color: #d2ca4c;
}
.bg-d2ca4c {
background-color: #d2ca4c;
color: #000000;
}
.border-d2ca4c {
border: 2px solid #d2ca4c;
}
:root {
--color-primary: #d2ca4c;
--color-primary-rgb: 210 202 76;
--color-primary-hsl: 56 60% 56%;
}
.gradient-d2ca4c {
background: linear-gradient(135deg, #d2ca4c, #97d24c);
}
.shadow-d2ca4c {
box-shadow: 0 8px 24px rgb(210 202 76 / 0.35);
}
Straw
#d2ca4c rgb(210, 202, 76) hsl(56, 60%, 56%) Straw
#4c54d2 rgb(76, 84, 210) hsl(236, 60%, 56%) Iris
#4cd2ca rgb(76, 210, 202) hsl(176, 60%, 56%) Medium Turquoise
#ca4cd2 rgb(202, 76, 210) hsl(296, 60%, 56%) Medium Orchid