#cfcb5f ≈ Straw
#cfcb5f is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 81.18% red, 79.61% green and 37.25% blue; printed in CMYK it uses 0% cyan, 1.93% magenta, 54.11% yellow and 18.82% black. Its hue angle is 57.86°, with 53.85% saturation and 59.22% 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.36: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.568 |
Shades
#cfcb5f mixed progressively with black.
Tints
#cfcb5f mixed progressively with white.
Tones
#cfcb5f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cfcb5f {
color: #cfcb5f;
}
.bg-cfcb5f {
background-color: #cfcb5f;
color: #000000;
}
.border-cfcb5f {
border: 2px solid #cfcb5f;
}
:root {
--color-primary: #cfcb5f;
--color-primary-rgb: 207 203 95;
--color-primary-hsl: 58 54% 59%;
}
.gradient-cfcb5f {
background: linear-gradient(135deg, #cfcb5f, #9bcf5f);
}
.shadow-cfcb5f {
box-shadow: 0 8px 24px rgb(207 203 95 / 0.35);
}
Straw
#cfcb5f rgb(207, 203, 95) hsl(58, 54%, 59%) Straw
#5f63cf rgb(95, 99, 207) hsl(238, 54%, 59%) Slate Blue
#5fcfcb rgb(95, 207, 203) hsl(178, 54%, 59%) Medium Turquoise
#cb5fcf rgb(203, 95, 207) hsl(298, 54%, 59%) Medium Orchid