#cfd57e ≈ Straw
#cfd57e is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 81.18% red, 83.53% green and 49.41% blue; printed in CMYK it uses 2.82% cyan, 0% magenta, 40.85% yellow and 16.47% black. Its hue angle is 64.14°, with 50.88% saturation and 66.47% 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.47:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 5.76.
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.6236 |
Shades
#cfd57e mixed progressively with black.
Tints
#cfd57e mixed progressively with white.
Tones
#cfd57e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cfd57e {
color: #cfd57e;
}
.bg-cfd57e {
background-color: #cfd57e;
color: #000000;
}
.border-cfd57e {
border: 2px solid #cfd57e;
}
:root {
--color-primary: #cfd57e;
--color-primary-rgb: 207 213 126;
--color-primary-hsl: 64 51% 66%;
}
.gradient-cfd57e {
background: linear-gradient(135deg, #cfd57e, #a3d57e);
}
.shadow-cfd57e {
box-shadow: 0 8px 24px rgb(207 213 126 / 0.35);
}
Straw
#cfd57e rgb(207, 213, 126) hsl(64, 51%, 66%) Straw
#847ed5 rgb(132, 126, 213) hsl(244, 51%, 66%) Medium Purple
#7ecfd5 rgb(126, 207, 213) hsl(184, 51%, 66%) Medium Turquoise
#d57ecf rgb(213, 126, 207) hsl(304, 51%, 66%) Orchid