#cfcf74 ≈ Straw
#cfcf74 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 81.18% red, 81.18% green and 45.49% blue; printed in CMYK it uses 0% cyan, 0% magenta, 43.96% yellow and 18.82% black. Its hue angle is 60°, with 48.66% saturation and 63.33% 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.83:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.64.
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.5915 |
Shades
#cfcf74 mixed progressively with black.
Tints
#cfcf74 mixed progressively with white.
Tones
#cfcf74 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cfcf74 {
color: #cfcf74;
}
.bg-cfcf74 {
background-color: #cfcf74;
color: #000000;
}
.border-cfcf74 {
border: 2px solid #cfcf74;
}
:root {
--color-primary: #cfcf74;
--color-primary-rgb: 207 207 116;
--color-primary-hsl: 60 49% 63%;
}
.gradient-cfcf74 {
background: linear-gradient(135deg, #cfcf74, #a1cf74);
}
.shadow-cfcf74 {
box-shadow: 0 8px 24px rgb(207 207 116 / 0.35);
}
Straw
#cfcf74 rgb(207, 207, 116) hsl(60, 49%, 63%) Straw
#7474cf rgb(116, 116, 207) hsl(240, 49%, 63%) Medium Slate Blue
#74cfcf rgb(116, 207, 207) hsl(180, 49%, 63%) Medium Turquoise
#cf74cf rgb(207, 116, 207) hsl(300, 49%, 63%) Orchid