#d2cd5f ≈ Straw
#d2cd5f is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 82.35% red, 80.39% green and 37.25% blue; printed in CMYK it uses 0% cyan, 2.38% magenta, 54.76% yellow and 17.65% black. Its hue angle is 57.39°, with 56.1% saturation and 59.8% 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.64:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.54.
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.5819 |
Shades
#d2cd5f mixed progressively with black.
Tints
#d2cd5f mixed progressively with white.
Tones
#d2cd5f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d2cd5f {
color: #d2cd5f;
}
.bg-d2cd5f {
background-color: #d2cd5f;
color: #000000;
}
.border-d2cd5f {
border: 2px solid #d2cd5f;
}
:root {
--color-primary: #d2cd5f;
--color-primary-rgb: 210 205 95;
--color-primary-hsl: 57 56% 60%;
}
.gradient-d2cd5f {
background: linear-gradient(135deg, #d2cd5f, #9dd25f);
}
.shadow-d2cd5f {
box-shadow: 0 8px 24px rgb(210 205 95 / 0.35);
}
Straw
#d2cd5f rgb(210, 205, 95) hsl(57, 56%, 60%) Straw
#5f64d2 rgb(95, 100, 210) hsl(237, 56%, 60%) Slate Blue
#5fd2cd rgb(95, 210, 205) hsl(177, 56%, 60%) Medium Turquoise
#cd5fd2 rgb(205, 95, 210) hsl(297, 56%, 60%) Orchid