#cdc65f ≈ Straw
#cdc65f is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 80.39% red, 77.65% green and 37.25% blue; printed in CMYK it uses 0% cyan, 3.41% magenta, 53.66% yellow and 19.61% black. Its hue angle is 56.18°, with 52.38% saturation and 58.82% 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 11.84:1 (WCAG AAA). The closest named color is Straw (#e4d96f), ΔE 4.86.
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.5419 |
Shades
#cdc65f mixed progressively with black.
Tints
#cdc65f mixed progressively with white.
Tones
#cdc65f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cdc65f {
color: #cdc65f;
}
.bg-cdc65f {
background-color: #cdc65f;
color: #000000;
}
.border-cdc65f {
border: 2px solid #cdc65f;
}
:root {
--color-primary: #cdc65f;
--color-primary-rgb: 205 198 95;
--color-primary-hsl: 56 52% 59%;
}
.gradient-cdc65f {
background: linear-gradient(135deg, #cdc65f, #9dcd5f);
}
.shadow-cdc65f {
box-shadow: 0 8px 24px rgb(205 198 95 / 0.35);
}
Straw
#cdc65f rgb(205, 198, 95) hsl(56, 52%, 59%) Straw
#5f66cd rgb(95, 102, 205) hsl(236, 52%, 59%) Slate Blue
#5fcdc6 rgb(95, 205, 198) hsl(176, 52%, 59%) Medium Turquoise
#c65fcd rgb(198, 95, 205) hsl(296, 52%, 59%) Medium Orchid