#cfd272 ≈ Straw
#cfd272 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 44.71% blue; printed in CMYK it uses 1.43% cyan, 0% magenta, 45.71% yellow and 17.65% black. Its hue angle is 61.88°, with 51.61% 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 13.11:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.61.
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.6057 |
Shades
#cfd272 mixed progressively with black.
Tints
#cfd272 mixed progressively with white.
Tones
#cfd272 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cfd272 {
color: #cfd272;
}
.bg-cfd272 {
background-color: #cfd272;
color: #000000;
}
.border-cfd272 {
border: 2px solid #cfd272;
}
:root {
--color-primary: #cfd272;
--color-primary-rgb: 207 210 114;
--color-primary-hsl: 62 52% 64%;
}
.gradient-cfd272 {
background: linear-gradient(135deg, #cfd272, #9fd272);
}
.shadow-cfd272 {
box-shadow: 0 8px 24px rgb(207 210 114 / 0.35);
}
Straw
#cfd272 rgb(207, 210, 114) hsl(62, 52%, 64%) Straw
#7572d2 rgb(117, 114, 210) hsl(242, 52%, 64%) Medium Slate Blue
#72cfd2 rgb(114, 207, 210) hsl(182, 52%, 64%) Medium Turquoise
#d272cf rgb(210, 114, 207) hsl(302, 52%, 64%) Orchid