#d3cd4f ≈ Straw
#d3cd4f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 82.75% red, 80.39% green and 30.98% blue; printed in CMYK it uses 0% cyan, 2.84% magenta, 62.56% yellow and 17.25% black. Its hue angle is 57.27°, with 60% saturation and 56.86% 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.62:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.18.
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.5808 |
Shades
#d3cd4f mixed progressively with black.
Tints
#d3cd4f mixed progressively with white.
Tones
#d3cd4f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d3cd4f {
color: #d3cd4f;
}
.bg-d3cd4f {
background-color: #d3cd4f;
color: #000000;
}
.border-d3cd4f {
border: 2px solid #d3cd4f;
}
:root {
--color-primary: #d3cd4f;
--color-primary-rgb: 211 205 79;
--color-primary-hsl: 57 60% 57%;
}
.gradient-d3cd4f {
background: linear-gradient(135deg, #d3cd4f, #97d34f);
}
.shadow-d3cd4f {
box-shadow: 0 8px 24px rgb(211 205 79 / 0.35);
}
Straw
#d3cd4f rgb(211, 205, 79) hsl(57, 60%, 57%) Straw
#4f55d3 rgb(79, 85, 211) hsl(237, 60%, 57%) Iris
#4fd3cd rgb(79, 211, 205) hsl(177, 60%, 57%) Medium Turquoise
#cd4fd3 rgb(205, 79, 211) hsl(297, 60%, 57%) Medium Orchid