#cfcd5a ≈ Straw
#cfcd5a is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 81.18% red, 80.39% green and 35.29% blue; printed in CMYK it uses 0% cyan, 0.97% magenta, 56.52% yellow and 18.82% black. Its hue angle is 58.97°, with 54.93% saturation and 58.24% 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.53:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.16.
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.5767 |
Shades
#cfcd5a mixed progressively with black.
Tints
#cfcd5a mixed progressively with white.
Tones
#cfcd5a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cfcd5a {
color: #cfcd5a;
}
.bg-cfcd5a {
background-color: #cfcd5a;
color: #000000;
}
.border-cfcd5a {
border: 2px solid #cfcd5a;
}
:root {
--color-primary: #cfcd5a;
--color-primary-rgb: 207 205 90;
--color-primary-hsl: 59 55% 58%;
}
.gradient-cfcd5a {
background: linear-gradient(135deg, #cfcd5a, #97cf5a);
}
.shadow-cfcd5a {
box-shadow: 0 8px 24px rgb(207 205 90 / 0.35);
}
Straw
#cfcd5a rgb(207, 205, 90) hsl(59, 55%, 58%) Straw
#5a5ccf rgb(90, 92, 207) hsl(239, 55%, 58%) Slate Blue
#5acfcd rgb(90, 207, 205) hsl(179, 55%, 58%) Medium Turquoise
#cd5acf rgb(205, 90, 207) hsl(299, 55%, 58%) Medium Orchid