#cfcf5e ≈ Straw
#cfcf5e is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 81.18% red, 81.18% green and 36.86% blue; printed in CMYK it uses 0% cyan, 0% magenta, 54.59% yellow and 18.82% black. Its hue angle is 60°, with 54.07% saturation and 59.02% 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.74:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.1.
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.587 |
Shades
#cfcf5e mixed progressively with black.
Tints
#cfcf5e mixed progressively with white.
Tones
#cfcf5e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cfcf5e {
color: #cfcf5e;
}
.bg-cfcf5e {
background-color: #cfcf5e;
color: #000000;
}
.border-cfcf5e {
border: 2px solid #cfcf5e;
}
:root {
--color-primary: #cfcf5e;
--color-primary-rgb: 207 207 94;
--color-primary-hsl: 60 54% 59%;
}
.gradient-cfcf5e {
background: linear-gradient(135deg, #cfcf5e, #97cf5e);
}
.shadow-cfcf5e {
box-shadow: 0 8px 24px rgb(207 207 94 / 0.35);
}
Straw
#cfcf5e rgb(207, 207, 94) hsl(60, 54%, 59%) Straw
#5e5ecf rgb(94, 94, 207) hsl(240, 54%, 59%) Slate Blue
#5ecfcf rgb(94, 207, 207) hsl(180, 54%, 59%) Medium Turquoise
#cf5ecf rgb(207, 94, 207) hsl(300, 54%, 59%) Orchid