#d7cd5f ≈ Straw
#d7cd5f is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 84.31% red, 80.39% green and 37.25% blue; printed in CMYK it uses 0% cyan, 4.65% magenta, 55.81% yellow and 15.69% black. Its hue angle is 55°, with 60% saturation and 60.78% 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.79:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 2.99.
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.5894 |
Shades
#d7cd5f mixed progressively with black.
Tints
#d7cd5f mixed progressively with white.
Tones
#d7cd5f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d7cd5f {
color: #d7cd5f;
}
.bg-d7cd5f {
background-color: #d7cd5f;
color: #000000;
}
.border-d7cd5f {
border: 2px solid #d7cd5f;
}
:root {
--color-primary: #d7cd5f;
--color-primary-rgb: 215 205 95;
--color-primary-hsl: 55 60% 61%;
}
.gradient-d7cd5f {
background: linear-gradient(135deg, #d7cd5f, #a5d75f);
}
.shadow-d7cd5f {
box-shadow: 0 8px 24px rgb(215 205 95 / 0.35);
}
Straw
#d7cd5f rgb(215, 205, 95) hsl(55, 60%, 61%) Straw
#5f69d7 rgb(95, 105, 215) hsl(235, 60%, 61%) Royal Blue
#5fd7cd rgb(95, 215, 205) hsl(175, 60%, 61%) Medium Turquoise
#cd5fd7 rgb(205, 95, 215) hsl(295, 60%, 61%) Medium Orchid