#A6997E

#a6997e ≈ Ecru

  • yellow
  • Lightness: medium
  • Saturation: muted
  • Warm

#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.

Conversions of #a6997e into other color spaces
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 luminance0.324

Readable text 2.81:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 7.48:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #9a9a9a ≈ 0.003% of males
Achromatomaly #9f9a90 ≈ 0.001% of males
Protanopia #a0987c ≈ 1.01% of males
Deuteranopia #a39c7f ≈ 1.27% of males
Tritanopia #ad9492 ≈ 0.0001% of males
Protanomaly #a2997d ≈ 1.08% of males
Deuteranomaly #a49b7e ≈ 4.63% of males
Tritanomaly #aa968a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-a6997e {
  color: #a6997e;
}
Background
.bg-a6997e {
  background-color: #a6997e;
  color: #000000;
}
Border
.border-a6997e {
  border: 2px solid #a6997e;
}
CSS variables
:root {
  --color-primary: #a6997e;
  --color-primary-rgb: 166 153 126;
  --color-primary-hsl: 41 18% 57%;
}
Gradient
.gradient-a6997e {
  background: linear-gradient(135deg, #a6997e, #9fa67e);
}
Colored shadow
.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