#cfcd6f ≈ Straw
#cfcd6f is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 81.18% red, 80.39% green and 43.53% blue; printed in CMYK it uses 0% cyan, 0.97% magenta, 46.38% yellow and 18.82% black. Its hue angle is 58.75°, with 50% saturation and 62.35% 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.62:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.35.
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.5808 |
Shades
#cfcd6f mixed progressively with black.
Tints
#cfcd6f mixed progressively with white.
Tones
#cfcd6f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cfcd6f {
color: #cfcd6f;
}
.bg-cfcd6f {
background-color: #cfcd6f;
color: #000000;
}
.border-cfcd6f {
border: 2px solid #cfcd6f;
}
:root {
--color-primary: #cfcd6f;
--color-primary-rgb: 207 205 111;
--color-primary-hsl: 59 50% 62%;
}
.gradient-cfcd6f {
background: linear-gradient(135deg, #cfcd6f, #a1cf6f);
}
.shadow-cfcd6f {
box-shadow: 0 8px 24px rgb(207 205 111 / 0.35);
}
Straw
#cfcd6f rgb(207, 205, 111) hsl(59, 50%, 62%) Straw
#6f71cf rgb(111, 113, 207) hsl(239, 50%, 62%) Medium Slate Blue
#6fcfcd rgb(111, 207, 205) hsl(179, 50%, 62%) Medium Turquoise
#cd6fcf rgb(205, 111, 207) hsl(299, 50%, 62%) Orchid