#cfcc52 ≈ Straw
#cfcc52 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% green and 32.16% blue; printed in CMYK it uses 0% cyan, 1.45% magenta, 60.39% yellow and 18.82% black. Its hue angle is 58.56°, with 56.56% saturation and 56.67% 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.41:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.5.
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.5706 |
Shades
#cfcc52 mixed progressively with black.
Tints
#cfcc52 mixed progressively with white.
Tones
#cfcc52 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cfcc52 {
color: #cfcc52;
}
.bg-cfcc52 {
background-color: #cfcc52;
color: #000000;
}
.border-cfcc52 {
border: 2px solid #cfcc52;
}
:root {
--color-primary: #cfcc52;
--color-primary-rgb: 207 204 82;
--color-primary-hsl: 59 57% 57%;
}
.gradient-cfcc52 {
background: linear-gradient(135deg, #cfcc52, #94cf52);
}
.shadow-cfcc52 {
box-shadow: 0 8px 24px rgb(207 204 82 / 0.35);
}
Straw
#cfcc52 rgb(207, 204, 82) hsl(59, 57%, 57%) Straw
#5255cf rgb(82, 85, 207) hsl(239, 57%, 57%) Iris
#52cfcc rgb(82, 207, 204) hsl(179, 57%, 57%) Medium Turquoise
#cc52cf rgb(204, 82, 207) hsl(299, 57%, 57%) Medium Orchid