#cfd172 ≈ Straw
#cfd172 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.96% green and 44.71% blue; printed in CMYK it uses 0.96% cyan, 0% magenta, 45.45% yellow and 18.04% black. Its hue angle is 61.26°, with 50.8% 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 13.02:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.55.
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.6008 |
Shades
#cfd172 mixed progressively with black.
Tints
#cfd172 mixed progressively with white.
Tones
#cfd172 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cfd172 {
color: #cfd172;
}
.bg-cfd172 {
background-color: #cfd172;
color: #000000;
}
.border-cfd172 {
border: 2px solid #cfd172;
}
:root {
--color-primary: #cfd172;
--color-primary-rgb: 207 209 114;
--color-primary-hsl: 61 51% 63%;
}
.gradient-cfd172 {
background: linear-gradient(135deg, #cfd172, #9fd172);
}
.shadow-cfd172 {
box-shadow: 0 8px 24px rgb(207 209 114 / 0.35);
}
Straw
#cfd172 rgb(207, 209, 114) hsl(61, 51%, 63%) Straw
#7472d1 rgb(116, 114, 209) hsl(241, 51%, 63%) Medium Slate Blue
#72cfd1 rgb(114, 207, 209) hsl(181, 51%, 63%) Medium Turquoise
#d172cf rgb(209, 114, 207) hsl(301, 51%, 63%) Orchid