#a6997e ≈ Ecru
#a6997e is a color from the yellow family, with medium lightness and muted saturation. In the RGB model it is made of 65.1% red, 60% green and 49.41% blue; printed in CMYK it uses 0% cyan, 7.83% magenta, 24.1% yellow and 34.9% black. Its hue angle is 40.5°, with 18.35% saturation and 57.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 7.48:1 (WCAG AAA). The closest named color is Ecru (#c2b280), ΔE 9.53.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #999966 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.324 |
Shades
#a6997e mixed progressively with black.
Tints
#a6997e mixed progressively with white.
Tones
#a6997e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-a6997e {
color: #a6997e;
}
.bg-a6997e {
background-color: #a6997e;
color: #000000;
}
.border-a6997e {
border: 2px solid #a6997e;
}
:root {
--color-primary: #a6997e;
--color-primary-rgb: 166 153 126;
--color-primary-hsl: 41 18% 57%;
}
.gradient-a6997e {
background: linear-gradient(135deg, #a6997e, #9fa67e);
}
.shadow-a6997e {
box-shadow: 0 8px 24px rgb(166 153 126 / 0.35);
}
Ecru
#a6997e rgb(166, 153, 126) hsl(41, 18%, 57%) Ecru
#7e8ba6 rgb(126, 139, 166) hsl(221, 18%, 57%) Cool Gray
#7ea699 rgb(126, 166, 153) hsl(161, 18%, 57%) Cadet Blue
#997ea6 rgb(153, 126, 166) hsl(281, 18%, 57%) Purple Mountain Majesty