#d2ca4f ≈ Straw
#d2ca4f 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 30.98% blue; printed in CMYK it uses 0% cyan, 3.81% magenta, 62.38% yellow and 17.65% black. Its hue angle is 56.34°, with 59.28% saturation and 56.67% 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.3:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.44.
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.5651 |
Shades
#d2ca4f mixed progressively with black.
Tints
#d2ca4f mixed progressively with white.
Tones
#d2ca4f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d2ca4f {
color: #d2ca4f;
}
.bg-d2ca4f {
background-color: #d2ca4f;
color: #000000;
}
.border-d2ca4f {
border: 2px solid #d2ca4f;
}
:root {
--color-primary: #d2ca4f;
--color-primary-rgb: 210 202 79;
--color-primary-hsl: 56 59% 57%;
}
.gradient-d2ca4f {
background: linear-gradient(135deg, #d2ca4f, #98d24f);
}
.shadow-d2ca4f {
box-shadow: 0 8px 24px rgb(210 202 79 / 0.35);
}
Straw
#d2ca4f rgb(210, 202, 79) hsl(56, 59%, 57%) Straw
#4f57d2 rgb(79, 87, 210) hsl(236, 59%, 57%) Iris
#4fd2ca rgb(79, 210, 202) hsl(176, 59%, 57%) Medium Turquoise
#ca4fd2 rgb(202, 79, 210) hsl(296, 59%, 57%) Medium Orchid