#cdcd45 ≈ Straw
#cdcd45 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 80.39% green and 27.06% blue; printed in CMYK it uses 0% cyan, 0% magenta, 66.34% yellow and 19.61% black. Its hue angle is 60°, with 57.63% saturation and 53.73% 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.41:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 5.48.
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.5707 |
Shades
#cdcd45 mixed progressively with black.
Tints
#cdcd45 mixed progressively with white.
Tones
#cdcd45 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cdcd45 {
color: #cdcd45;
}
.bg-cdcd45 {
background-color: #cdcd45;
color: #000000;
}
.border-cdcd45 {
border: 2px solid #cdcd45;
}
:root {
--color-primary: #cdcd45;
--color-primary-rgb: 205 205 69;
--color-primary-hsl: 60 58% 54%;
}
.gradient-cdcd45 {
background: linear-gradient(135deg, #cdcd45, #89cd45);
}
.shadow-cdcd45 {
box-shadow: 0 8px 24px rgb(205 205 69 / 0.35);
}
Straw
#cdcd45 rgb(205, 205, 69) hsl(60, 58%, 54%) Straw
#4545cd rgb(69, 69, 205) hsl(240, 58%, 54%) Ocean Blue
#45cdcd rgb(69, 205, 205) hsl(180, 58%, 54%) Medium Turquoise
#cd45cd rgb(205, 69, 205) hsl(300, 58%, 54%) Medium Orchid