#cfd27f ≈ Straw
#cfd27f is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 81.18% red, 82.35% green and 49.8% blue; printed in CMYK it uses 1.43% cyan, 0% magenta, 39.52% yellow and 17.65% black. Its hue angle is 62.17°, with 47.98% saturation and 66.08% 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 13.18:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 5.7.
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.6089 |
Shades
#cfd27f mixed progressively with black.
Tints
#cfd27f mixed progressively with white.
Tones
#cfd27f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cfd27f {
color: #cfd27f;
}
.bg-cfd27f {
background-color: #cfd27f;
color: #000000;
}
.border-cfd27f {
border: 2px solid #cfd27f;
}
:root {
--color-primary: #cfd27f;
--color-primary-rgb: 207 210 127;
--color-primary-hsl: 62 48% 66%;
}
.gradient-cfd27f {
background: linear-gradient(135deg, #cfd27f, #a6d27f);
}
.shadow-cfd27f {
box-shadow: 0 8px 24px rgb(207 210 127 / 0.35);
}
Straw
#cfd27f rgb(207, 210, 127) hsl(62, 48%, 66%) Straw
#827fd2 rgb(130, 127, 210) hsl(242, 48%, 66%) Medium Purple
#7fcfd2 rgb(127, 207, 210) hsl(182, 48%, 66%) Medium Turquoise
#d27fcf rgb(210, 127, 207) hsl(302, 48%, 66%) Orchid