#cdc96a ≈ Straw
#cdc96a is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 80.39% red, 78.82% green and 41.57% blue; printed in CMYK it uses 0% cyan, 1.95% magenta, 48.29% yellow and 19.61% black. Its hue angle is 57.58°, with 49.75% saturation and 60.98% 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.16:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.73.
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.5579 |
Shades
#cdc96a mixed progressively with black.
Tints
#cdc96a mixed progressively with white.
Tones
#cdc96a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cdc96a {
color: #cdc96a;
}
.bg-cdc96a {
background-color: #cdc96a;
color: #000000;
}
.border-cdc96a {
border: 2px solid #cdc96a;
}
:root {
--color-primary: #cdc96a;
--color-primary-rgb: 205 201 106;
--color-primary-hsl: 58 50% 61%;
}
.gradient-cdc96a {
background: linear-gradient(135deg, #cdc96a, #9fcd6a);
}
.shadow-cdc96a {
box-shadow: 0 8px 24px rgb(205 201 106 / 0.35);
}
Straw
#cdc96a rgb(205, 201, 106) hsl(58, 50%, 61%) Straw
#6a6ecd rgb(106, 110, 205) hsl(238, 50%, 61%) Medium Slate Blue
#6acdc9 rgb(106, 205, 201) hsl(178, 50%, 61%) Medium Turquoise
#c96acd rgb(201, 106, 205) hsl(298, 50%, 61%) Orchid