#cdd072 ≈ Straw
#cdd072 is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 80.39% red, 81.57% green and 44.71% blue; printed in CMYK it uses 1.44% cyan, 0% magenta, 45.19% yellow and 18.43% black. Its hue angle is 61.91°, with 50% saturation and 63.14% 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.86:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.97.
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.5931 |
Shades
#cdd072 mixed progressively with black.
Tints
#cdd072 mixed progressively with white.
Tones
#cdd072 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cdd072 {
color: #cdd072;
}
.bg-cdd072 {
background-color: #cdd072;
color: #000000;
}
.border-cdd072 {
border: 2px solid #cdd072;
}
:root {
--color-primary: #cdd072;
--color-primary-rgb: 205 208 114;
--color-primary-hsl: 62 50% 63%;
}
.gradient-cdd072 {
background: linear-gradient(135deg, #cdd072, #9ed072);
}
.shadow-cdd072 {
box-shadow: 0 8px 24px rgb(205 208 114 / 0.35);
}
Straw
#cdd072 rgb(205, 208, 114) hsl(62, 50%, 63%) Straw
#7572d0 rgb(117, 114, 208) hsl(242, 50%, 63%) Medium Slate Blue
#72cdd0 rgb(114, 205, 208) hsl(182, 50%, 63%) Medium Turquoise
#d072cd rgb(208, 114, 205) hsl(302, 50%, 63%) Orchid