#cfd074 ≈ Straw
#cfd074 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.57% green and 45.49% blue; printed in CMYK it uses 0.48% cyan, 0% magenta, 44.23% yellow and 18.43% black. Its hue angle is 60.65°, with 49.46% saturation and 63.53% 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.93:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.65.
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.5964 |
Shades
#cfd074 mixed progressively with black.
Tints
#cfd074 mixed progressively with white.
Tones
#cfd074 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cfd074 {
color: #cfd074;
}
.bg-cfd074 {
background-color: #cfd074;
color: #000000;
}
.border-cfd074 {
border: 2px solid #cfd074;
}
:root {
--color-primary: #cfd074;
--color-primary-rgb: 207 208 116;
--color-primary-hsl: 61 49% 64%;
}
.gradient-cfd074 {
background: linear-gradient(135deg, #cfd074, #a1d074);
}
.shadow-cfd074 {
box-shadow: 0 8px 24px rgb(207 208 116 / 0.35);
}
Straw
#cfd074 rgb(207, 208, 116) hsl(61, 49%, 64%) Straw
#7574d0 rgb(117, 116, 208) hsl(241, 49%, 64%) Medium Slate Blue
#74cfd0 rgb(116, 207, 208) hsl(181, 49%, 64%) Medium Turquoise
#d074cf rgb(208, 116, 207) hsl(301, 49%, 64%) Orchid