#ccd06f ≈ Straw
#ccd06f is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 80% red, 81.57% green and 43.53% blue; printed in CMYK it uses 1.92% cyan, 0% magenta, 46.63% yellow and 18.43% black. Its hue angle is 62.47°, with 50.79% saturation and 62.55% 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.82:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 5.04.
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.591 |
Shades
#ccd06f mixed progressively with black.
Tints
#ccd06f mixed progressively with white.
Tones
#ccd06f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ccd06f {
color: #ccd06f;
}
.bg-ccd06f {
background-color: #ccd06f;
color: #000000;
}
.border-ccd06f {
border: 2px solid #ccd06f;
}
:root {
--color-primary: #ccd06f;
--color-primary-rgb: 204 208 111;
--color-primary-hsl: 62 51% 63%;
}
.gradient-ccd06f {
background: linear-gradient(135deg, #ccd06f, #9cd06f);
}
.shadow-ccd06f {
box-shadow: 0 8px 24px rgb(204 208 111 / 0.35);
}
Straw
#ccd06f rgb(204, 208, 111) hsl(62, 51%, 63%) Straw
#736fd0 rgb(115, 111, 208) hsl(242, 51%, 63%) Medium Slate Blue
#6fccd0 rgb(111, 204, 208) hsl(182, 51%, 63%) Medium Turquoise
#d06fcc rgb(208, 111, 204) hsl(302, 51%, 63%) Orchid