#d7cc6d ≈ Straw
#d7cc6d is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 84.31% red, 80% green and 42.75% blue; printed in CMYK it uses 0% cyan, 5.12% magenta, 49.3% yellow and 15.69% black. Its hue angle is 53.77°, with 56.99% saturation and 63.53% 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.75:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 3.34.
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.5874 |
Shades
#d7cc6d mixed progressively with black.
Tints
#d7cc6d mixed progressively with white.
Tones
#d7cc6d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d7cc6d {
color: #d7cc6d;
}
.bg-d7cc6d {
background-color: #d7cc6d;
color: #000000;
}
.border-d7cc6d {
border: 2px solid #d7cc6d;
}
:root {
--color-primary: #d7cc6d;
--color-primary-rgb: 215 204 109;
--color-primary-hsl: 54 57% 64%;
}
.gradient-d7cc6d {
background: linear-gradient(135deg, #d7cc6d, #add76d);
}
.shadow-d7cc6d {
box-shadow: 0 8px 24px rgb(215 204 109 / 0.35);
}
Straw
#d7cc6d rgb(215, 204, 109) hsl(54, 57%, 64%) Straw
#6d78d7 rgb(109, 120, 215) hsl(234, 57%, 64%) Glaucous
#6dd7cc rgb(109, 215, 204) hsl(174, 57%, 64%) Medium Turquoise
#cc6dd7 rgb(204, 109, 215) hsl(294, 57%, 64%) Orchid