#cfc64e ≈ Straw
#cfc64e is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 81.18% red, 77.65% green and 30.59% blue; printed in CMYK it uses 0% cyan, 4.35% magenta, 62.32% yellow and 18.82% black. Its hue angle is 55.81°, with 57.33% saturation and 55.88% 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 11.84:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 5.12.
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.542 |
Shades
#cfc64e mixed progressively with black.
Tints
#cfc64e mixed progressively with white.
Tones
#cfc64e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cfc64e {
color: #cfc64e;
}
.bg-cfc64e {
background-color: #cfc64e;
color: #000000;
}
.border-cfc64e {
border: 2px solid #cfc64e;
}
:root {
--color-primary: #cfc64e;
--color-primary-rgb: 207 198 78;
--color-primary-hsl: 56 57% 56%;
}
.gradient-cfc64e {
background: linear-gradient(135deg, #cfc64e, #98cf4e);
}
.shadow-cfc64e {
box-shadow: 0 8px 24px rgb(207 198 78 / 0.35);
}
Straw
#cfc64e rgb(207, 198, 78) hsl(56, 57%, 56%) Straw
#4e57cf rgb(78, 87, 207) hsl(236, 57%, 56%) Iris
#4ecfc6 rgb(78, 207, 198) hsl(176, 57%, 56%) Medium Turquoise
#c64ecf rgb(198, 78, 207) hsl(296, 57%, 56%) Medium Orchid