#d3cc7e ≈ Straw
#d3cc7e is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 82.75% red, 80% green and 49.41% blue; printed in CMYK it uses 0% cyan, 3.32% magenta, 40.28% yellow and 17.25% black. Its hue angle is 55.06°, with 49.13% saturation and 66.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.71:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 5.32.
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.5854 |
Shades
#d3cc7e mixed progressively with black.
Tints
#d3cc7e mixed progressively with white.
Tones
#d3cc7e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d3cc7e {
color: #d3cc7e;
}
.bg-d3cc7e {
background-color: #d3cc7e;
color: #000000;
}
.border-d3cc7e {
border: 2px solid #d3cc7e;
}
:root {
--color-primary: #d3cc7e;
--color-primary-rgb: 211 204 126;
--color-primary-hsl: 55 49% 66%;
}
.gradient-d3cc7e {
background: linear-gradient(135deg, #d3cc7e, #b0d37e);
}
.shadow-d3cc7e {
box-shadow: 0 8px 24px rgb(211 204 126 / 0.35);
}
Straw
#d3cc7e rgb(211, 204, 126) hsl(55, 49%, 66%) Straw
#7e85d3 rgb(126, 133, 211) hsl(235, 49%, 66%) Glaucous
#7ed3cc rgb(126, 211, 204) hsl(175, 49%, 66%) Medium Turquoise
#cc7ed3 rgb(204, 126, 211) hsl(295, 49%, 66%) Orchid