#cdcd71 ≈ Straw
#cdcd71 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.31% blue; printed in CMYK it uses 0% cyan, 0% magenta, 44.88% yellow and 19.61% black. Its hue angle is 60°, with 47.92% saturation and 62.35% 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.87.
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.5783 |
Shades
#cdcd71 mixed progressively with black.
Tints
#cdcd71 mixed progressively with white.
Tones
#cdcd71 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cdcd71 {
color: #cdcd71;
}
.bg-cdcd71 {
background-color: #cdcd71;
color: #000000;
}
.border-cdcd71 {
border: 2px solid #cdcd71;
}
:root {
--color-primary: #cdcd71;
--color-primary-rgb: 205 205 113;
--color-primary-hsl: 60 48% 62%;
}
.gradient-cdcd71 {
background: linear-gradient(135deg, #cdcd71, #9fcd71);
}
.shadow-cdcd71 {
box-shadow: 0 8px 24px rgb(205 205 113 / 0.35);
}
Straw
#cdcd71 rgb(205, 205, 113) hsl(60, 48%, 62%) Straw
#7171cd rgb(113, 113, 205) hsl(240, 48%, 62%) Medium Slate Blue
#71cdcd rgb(113, 205, 205) hsl(180, 48%, 62%) Medium Turquoise
#cd71cd rgb(205, 113, 205) hsl(300, 48%, 62%) Orchid