#cdcd72 ≈ Straw
#cdcd72 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 80.39% red, 80.39% green and 44.71% blue; printed in CMYK it uses 0% cyan, 0% magenta, 44.39% yellow and 19.61% black. Its hue angle is 60°, with 47.64% 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.57:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.94.
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.5786 |
Shades
#cdcd72 mixed progressively with black.
Tints
#cdcd72 mixed progressively with white.
Tones
#cdcd72 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cdcd72 {
color: #cdcd72;
}
.bg-cdcd72 {
background-color: #cdcd72;
color: #000000;
}
.border-cdcd72 {
border: 2px solid #cdcd72;
}
:root {
--color-primary: #cdcd72;
--color-primary-rgb: 205 205 114;
--color-primary-hsl: 60 48% 63%;
}
.gradient-cdcd72 {
background: linear-gradient(135deg, #cdcd72, #a0cd72);
}
.shadow-cdcd72 {
box-shadow: 0 8px 24px rgb(205 205 114 / 0.35);
}
Straw
#cdcd72 rgb(205, 205, 114) hsl(60, 48%, 63%) Straw
#7272cd rgb(114, 114, 205) hsl(240, 48%, 63%) Medium Slate Blue
#72cdcd rgb(114, 205, 205) hsl(180, 48%, 63%) Medium Turquoise
#cd72cd rgb(205, 114, 205) hsl(300, 48%, 63%) Orchid