#cfd057 ≈ Straw
#cfd057 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 81.18% red, 81.57% green and 34.12% blue; printed in CMYK it uses 0.48% cyan, 0% magenta, 58.17% yellow and 18.43% black. Its hue angle is 60.5°, with 56.28% saturation and 57.84% 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.81:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.39.
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.5907 |
Shades
#cfd057 mixed progressively with black.
Tints
#cfd057 mixed progressively with white.
Tones
#cfd057 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cfd057 {
color: #cfd057;
}
.bg-cfd057 {
background-color: #cfd057;
color: #000000;
}
.border-cfd057 {
border: 2px solid #cfd057;
}
:root {
--color-primary: #cfd057;
--color-primary-rgb: 207 208 87;
--color-primary-hsl: 61 56% 58%;
}
.gradient-cfd057 {
background: linear-gradient(135deg, #cfd057, #92d057);
}
.shadow-cfd057 {
box-shadow: 0 8px 24px rgb(207 208 87 / 0.35);
}
Straw
#cfd057 rgb(207, 208, 87) hsl(61, 56%, 58%) Straw
#5857d0 rgb(88, 87, 208) hsl(241, 56%, 58%) Iris
#57cfd0 rgb(87, 207, 208) hsl(181, 56%, 58%) Medium Turquoise
#d057cf rgb(208, 87, 207) hsl(301, 56%, 58%) Medium Orchid