#d7cc6e ≈ Straw
#d7cc6e 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 43.14% blue; printed in CMYK it uses 0% cyan, 5.12% magenta, 48.84% yellow and 15.69% black. Its hue angle is 53.71°, with 56.76% saturation and 63.73% 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.4.
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.5876 |
Shades
#d7cc6e mixed progressively with black.
Tints
#d7cc6e mixed progressively with white.
Tones
#d7cc6e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d7cc6e {
color: #d7cc6e;
}
.bg-d7cc6e {
background-color: #d7cc6e;
color: #000000;
}
.border-d7cc6e {
border: 2px solid #d7cc6e;
}
:root {
--color-primary: #d7cc6e;
--color-primary-rgb: 215 204 110;
--color-primary-hsl: 54 57% 64%;
}
.gradient-d7cc6e {
background: linear-gradient(135deg, #d7cc6e, #aed76e);
}
.shadow-d7cc6e {
box-shadow: 0 8px 24px rgb(215 204 110 / 0.35);
}
Straw
#d7cc6e rgb(215, 204, 110) hsl(54, 57%, 64%) Straw
#6e79d7 rgb(110, 121, 215) hsl(234, 57%, 64%) Glaucous
#6ed7cc rgb(110, 215, 204) hsl(174, 57%, 64%) Medium Turquoise
#cc6ed7 rgb(204, 110, 215) hsl(294, 57%, 64%) Orchid