#cec76b ≈ Dark Khaki
#cec76b is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 80.78% red, 78.04% green and 41.96% blue; printed in CMYK it uses 0% cyan, 3.4% magenta, 48.06% yellow and 19.22% black. Its hue angle is 55.76°, with 50.25% saturation and 61.37% 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.01:1 (WCAG AAA). The closest named color is Dark Khaki (#bdb76b), ΔE 4.79.
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.5503 |
Shades
#cec76b mixed progressively with black.
Tints
#cec76b mixed progressively with white.
Tones
#cec76b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cec76b {
color: #cec76b;
}
.bg-cec76b {
background-color: #cec76b;
color: #000000;
}
.border-cec76b {
border: 2px solid #cec76b;
}
:root {
--color-primary: #cec76b;
--color-primary-rgb: 206 199 107;
--color-primary-hsl: 56 50% 61%;
}
.gradient-cec76b {
background: linear-gradient(135deg, #cec76b, #a3ce6b);
}
.shadow-cec76b {
box-shadow: 0 8px 24px rgb(206 199 107 / 0.35);
}
Dark Khaki
#cec76b rgb(206, 199, 107) hsl(56, 50%, 61%) Dark Khaki
#6b72ce rgb(107, 114, 206) hsl(236, 50%, 61%) Medium Slate Blue
#6bcec7 rgb(107, 206, 199) hsl(176, 50%, 61%) Medium Turquoise
#c76bce rgb(199, 107, 206) hsl(296, 50%, 61%) Orchid