#cfd17c ≈ Straw
#cfd17c is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 81.18% red, 81.96% green and 48.63% blue; printed in CMYK it uses 0.96% cyan, 0% magenta, 40.67% yellow and 18.04% black. Its hue angle is 61.41°, with 48.02% saturation and 65.29% 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.06:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 5.37.
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.6032 |
Shades
#cfd17c mixed progressively with black.
Tints
#cfd17c mixed progressively with white.
Tones
#cfd17c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cfd17c {
color: #cfd17c;
}
.bg-cfd17c {
background-color: #cfd17c;
color: #000000;
}
.border-cfd17c {
border: 2px solid #cfd17c;
}
:root {
--color-primary: #cfd17c;
--color-primary-rgb: 207 209 124;
--color-primary-hsl: 61 48% 65%;
}
.gradient-cfd17c {
background: linear-gradient(135deg, #cfd17c, #a4d17c);
}
.shadow-cfd17c {
box-shadow: 0 8px 24px rgb(207 209 124 / 0.35);
}
Straw
#cfd17c rgb(207, 209, 124) hsl(61, 48%, 65%) Straw
#7e7cd1 rgb(126, 124, 209) hsl(241, 48%, 65%) Medium Purple
#7ccfd1 rgb(124, 207, 209) hsl(181, 48%, 65%) Medium Turquoise
#d17ccf rgb(209, 124, 207) hsl(301, 48%, 65%) Orchid