#cdc94c ≈ Straw
#cdc94c is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 78.82% green and 29.8% blue; printed in CMYK it uses 0% cyan, 1.95% magenta, 62.93% yellow and 19.61% black. Its hue angle is 58.14°, with 56.33% saturation and 55.1% 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.05:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 5.13.
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.5527 |
Shades
#cdc94c mixed progressively with black.
Tints
#cdc94c mixed progressively with white.
Tones
#cdc94c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cdc94c {
color: #cdc94c;
}
.bg-cdc94c {
background-color: #cdc94c;
color: #000000;
}
.border-cdc94c {
border: 2px solid #cdc94c;
}
:root {
--color-primary: #cdc94c;
--color-primary-rgb: 205 201 76;
--color-primary-hsl: 58 56% 55%;
}
.gradient-cdc94c {
background: linear-gradient(135deg, #cdc94c, #91cd4c);
}
.shadow-cdc94c {
box-shadow: 0 8px 24px rgb(205 201 76 / 0.35);
}
Straw
#cdc94c rgb(205, 201, 76) hsl(58, 56%, 55%) Straw
#4c50cd rgb(76, 80, 205) hsl(238, 56%, 55%) Iris
#4ccdc9 rgb(76, 205, 201) hsl(178, 56%, 55%) Medium Turquoise
#c94ccd rgb(201, 76, 205) hsl(298, 56%, 55%) Medium Orchid