#cdc08a ≈ Ecru
#cdc08a is a color from the yellow family, with high lightness and moderate saturation. In the RGB model it is made of 80.39% red, 75.29% green and 54.12% blue; printed in CMYK it uses 0% cyan, 6.34% magenta, 32.68% yellow and 19.61% black. Its hue angle is 48.36°, with 40.12% saturation and 67.25% 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.5:1 (WCAG AAA). The closest named color is Ecru (#c2b280), ΔE 3.8.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cccc99 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.5251 |
Shades
#cdc08a mixed progressively with black.
Tints
#cdc08a mixed progressively with white.
Tones
#cdc08a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cdc08a {
color: #cdc08a;
}
.bg-cdc08a {
background-color: #cdc08a;
color: #000000;
}
.border-cdc08a {
border: 2px solid #cdc08a;
}
:root {
--color-primary: #cdc08a;
--color-primary-rgb: 205 192 138;
--color-primary-hsl: 48 40% 67%;
}
.gradient-cdc08a {
background: linear-gradient(135deg, #cdc08a, #b8cd8a);
}
.shadow-cdc08a {
box-shadow: 0 8px 24px rgb(205 192 138 / 0.35);
}
Ecru
#cdc08a rgb(205, 192, 138) hsl(48, 40%, 67%) Ecru
#8a97cd rgb(138, 151, 205) hsl(228, 40%, 67%) Wild Blue Yonder
#8acdc0 rgb(138, 205, 192) hsl(168, 40%, 67%) Medium Turquoise
#c08acd rgb(192, 138, 205) hsl(288, 40%, 67%) Wisteria