#cdcc6c ≈ Straw
#cdcc6c is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 80.39% red, 80% green and 42.35% blue; printed in CMYK it uses 0% cyan, 0.49% magenta, 47.32% yellow and 19.61% black. Its hue angle is 59.38°, with 49.24% saturation and 61.37% 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.45:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.62.
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.5725 |
Shades
#cdcc6c mixed progressively with black.
Tints
#cdcc6c mixed progressively with white.
Tones
#cdcc6c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cdcc6c {
color: #cdcc6c;
}
.bg-cdcc6c {
background-color: #cdcc6c;
color: #000000;
}
.border-cdcc6c {
border: 2px solid #cdcc6c;
}
:root {
--color-primary: #cdcc6c;
--color-primary-rgb: 205 204 108;
--color-primary-hsl: 59 49% 61%;
}
.gradient-cdcc6c {
background: linear-gradient(135deg, #cdcc6c, #9dcd6c);
}
.shadow-cdcc6c {
box-shadow: 0 8px 24px rgb(205 204 108 / 0.35);
}
Straw
#cdcc6c rgb(205, 204, 108) hsl(59, 49%, 61%) Straw
#6c6dcd rgb(108, 109, 205) hsl(239, 49%, 61%) Medium Slate Blue
#6ccdcc rgb(108, 205, 204) hsl(179, 49%, 61%) Medium Turquoise
#cc6ccd rgb(204, 108, 205) hsl(299, 49%, 61%) Orchid