#cdcc3f ≈ Straw
#cdcc3f is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 80% green and 24.71% blue; printed in CMYK it uses 0% cyan, 0.49% magenta, 69.27% yellow and 19.61% black. Its hue angle is 59.58°, with 58.68% saturation and 52.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.3:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 5.8.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cccc33 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.5652 |
Shades
#cdcc3f mixed progressively with black.
Tints
#cdcc3f mixed progressively with white.
Tones
#cdcc3f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cdcc3f {
color: #cdcc3f;
}
.bg-cdcc3f {
background-color: #cdcc3f;
color: #000000;
}
.border-cdcc3f {
border: 2px solid #cdcc3f;
}
:root {
--color-primary: #cdcc3f;
--color-primary-rgb: 205 204 63;
--color-primary-hsl: 60 59% 53%;
}
.gradient-cdcc3f {
background: linear-gradient(135deg, #cdcc3f, #87cd3f);
}
.shadow-cdcc3f {
box-shadow: 0 8px 24px rgb(205 204 63 / 0.35);
}
Straw
#cdcc3f rgb(205, 204, 63) hsl(60, 59%, 53%) Straw
#3f40cd rgb(63, 64, 205) hsl(240, 59%, 53%) Ocean Blue
#3fcdcc rgb(63, 205, 204) hsl(180, 59%, 53%) Robin Egg Blue
#cc3fcd rgb(204, 63, 205) hsl(300, 59%, 53%) Medium Orchid