#d7cf6e ≈ Straw
#d7cf6e is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 84.31% red, 81.18% green and 43.14% blue; printed in CMYK it uses 0% cyan, 3.72% magenta, 48.84% yellow and 15.69% black. Its hue angle is 55.43°, 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 13.04:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 2.83.
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.602 |
Shades
#d7cf6e mixed progressively with black.
Tints
#d7cf6e mixed progressively with white.
Tones
#d7cf6e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d7cf6e {
color: #d7cf6e;
}
.bg-d7cf6e {
background-color: #d7cf6e;
color: #000000;
}
.border-d7cf6e {
border: 2px solid #d7cf6e;
}
:root {
--color-primary: #d7cf6e;
--color-primary-rgb: 215 207 110;
--color-primary-hsl: 55 57% 64%;
}
.gradient-d7cf6e {
background: linear-gradient(135deg, #d7cf6e, #abd76e);
}
.shadow-d7cf6e {
box-shadow: 0 8px 24px rgb(215 207 110 / 0.35);
}
Straw
#d7cf6e rgb(215, 207, 110) hsl(55, 57%, 64%) Straw
#6e76d7 rgb(110, 118, 215) hsl(235, 57%, 64%) Medium Slate Blue
#6ed7cf rgb(110, 215, 207) hsl(175, 57%, 64%) Medium Turquoise
#cf6ed7 rgb(207, 110, 215) hsl(295, 57%, 64%) Orchid