#A1997F

#a1997f ≈ Ecru

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

#a1997f is a color from the yellow family, with medium lightness and muted saturation. In the RGB model it is made of 63.14% red, 60% green and 49.8% blue; printed in CMYK it uses 0% cyan, 4.97% magenta, 21.12% yellow and 36.86% black. Its hue angle is 45.88°, with 15.32% saturation and 56.47% 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.38:1 (WCAG AAA). The closest named color is Ecru (#c2b280), ΔE 10.06.

Description generated from the measured properties of this color.

Conversions of #a1997f 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.3189

Readable text 2.85:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 7.38:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #999999 ≈ 0.003% of males
Achromatomaly #9c998f ≈ 0.001% of males
Protanopia #9f987d ≈ 1.01% of males
Deuteranopia #a19a80 ≈ 1.27% of males
Tritanopia #a79592 ≈ 0.0001% of males
Protanomaly #a0987e ≈ 1.08% of males
Deuteranomaly #a19a7f ≈ 4.63% of males
Tritanomaly #a4978b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-a1997f {
  color: #a1997f;
}
Background
.bg-a1997f {
  background-color: #a1997f;
  color: #000000;
}
Border
.border-a1997f {
  border: 2px solid #a1997f;
}
CSS variables
:root {
  --color-primary: #a1997f;
  --color-primary-rgb: 161 153 127;
  --color-primary-hsl: 46 15% 56%;
}
Gradient
.gradient-a1997f {
  background: linear-gradient(135deg, #a1997f, #98a17f);
}
Colored shadow
.shadow-a1997f {
  box-shadow: 0 8px 24px rgb(161 153 127 / 0.35);
}

Ecru
#a1997f  rgb(161, 153, 127)  hsl(46, 15%, 56%)  Ecru
#7f87a1  rgb(127, 135, 161)  hsl(226, 15%, 56%)  Cool Gray
#7fa199  rgb(127, 161, 153)  hsl(166, 15%, 56%)  Cadet Blue
#997fa1  rgb(153, 127, 161)  hsl(286, 15%, 56%)  Mountbatten Pink