#d2cf7e ≈ Straw
#d2cf7e is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 82.35% red, 81.18% green and 49.41% blue; printed in CMYK it uses 0% cyan, 1.43% magenta, 40% yellow and 17.65% black. Its hue angle is 57.86°, with 48.28% saturation and 65.88% 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.97:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 5.09.
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.5983 |
Shades
#d2cf7e mixed progressively with black.
Tints
#d2cf7e mixed progressively with white.
Tones
#d2cf7e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d2cf7e {
color: #d2cf7e;
}
.bg-d2cf7e {
background-color: #d2cf7e;
color: #000000;
}
.border-d2cf7e {
border: 2px solid #d2cf7e;
}
:root {
--color-primary: #d2cf7e;
--color-primary-rgb: 210 207 126;
--color-primary-hsl: 58 48% 66%;
}
.gradient-d2cf7e {
background: linear-gradient(135deg, #d2cf7e, #abd27e);
}
.shadow-d2cf7e {
box-shadow: 0 8px 24px rgb(210 207 126 / 0.35);
}
Straw
#d2cf7e rgb(210, 207, 126) hsl(58, 48%, 66%) Straw
#7e81d2 rgb(126, 129, 210) hsl(238, 48%, 66%) Glaucous
#7ed2cf rgb(126, 210, 207) hsl(178, 48%, 66%) Medium Turquoise
#cf7ed2 rgb(207, 126, 210) hsl(298, 48%, 66%) Orchid