#cfcf6f ≈ Straw
#cfcf6f 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.18% green and 43.53% blue; printed in CMYK it uses 0% cyan, 0% magenta, 46.38% yellow and 18.82% black. Its hue angle is 60°, 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.81:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.32.
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.5904 |
Shades
#cfcf6f mixed progressively with black.
Tints
#cfcf6f mixed progressively with white.
Tones
#cfcf6f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cfcf6f {
color: #cfcf6f;
}
.bg-cfcf6f {
background-color: #cfcf6f;
color: #000000;
}
.border-cfcf6f {
border: 2px solid #cfcf6f;
}
:root {
--color-primary: #cfcf6f;
--color-primary-rgb: 207 207 111;
--color-primary-hsl: 60 50% 62%;
}
.gradient-cfcf6f {
background: linear-gradient(135deg, #cfcf6f, #9fcf6f);
}
.shadow-cfcf6f {
box-shadow: 0 8px 24px rgb(207 207 111 / 0.35);
}
Straw
#cfcf6f rgb(207, 207, 111) hsl(60, 50%, 62%) Straw
#6f6fcf rgb(111, 111, 207) hsl(240, 50%, 62%) Medium Slate Blue
#6fcfcf rgb(111, 207, 207) hsl(180, 50%, 62%) Medium Turquoise
#cf6fcf rgb(207, 111, 207) hsl(300, 50%, 62%) Orchid