#A8A087

#a8a087 ≈ Ecru

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

#a8a087 is a color from the yellow family, with medium lightness and muted saturation. In the RGB model it is made of 65.88% red, 62.75% green and 52.94% blue; printed in CMYK it uses 0% cyan, 4.76% magenta, 19.64% yellow and 34.12% black. Its hue angle is 45.45°, with 15.94% saturation and 59.41% 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 8.04:1 (WCAG AAA). The closest named color is Ecru (#c2b280), ΔE 8.83.

Description generated from the measured properties of this color.

Conversions of #a8a087 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#999999
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.3522

Readable text 2.61:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.04:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a0a0a0 ≈ 0.003% of males
Achromatomaly #a3a097 ≈ 0.001% of males
Protanopia #a69f85 ≈ 1.01% of males
Deuteranopia #a8a188 ≈ 1.27% of males
Tritanopia #ae9c99 ≈ 0.0001% of males
Protanomaly #a79f86 ≈ 1.08% of males
Deuteranomaly #a8a187 ≈ 4.63% of males
Tritanomaly #ab9e92 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-a8a087 {
  color: #a8a087;
}
Background
.bg-a8a087 {
  background-color: #a8a087;
  color: #000000;
}
Border
.border-a8a087 {
  border: 2px solid #a8a087;
}
CSS variables
:root {
  --color-primary: #a8a087;
  --color-primary-rgb: 168 160 135;
  --color-primary-hsl: 45 16% 59%;
}
Gradient
.gradient-a8a087 {
  background: linear-gradient(135deg, #a8a087, #9fa887);
}
Colored shadow
.shadow-a8a087 {
  box-shadow: 0 8px 24px rgb(168 160 135 / 0.35);
}

Ecru
#a8a087  rgb(168, 160, 135)  hsl(45, 16%, 59%)  Ecru
#878fa8  rgb(135, 143, 168)  hsl(225, 16%, 59%)  Cool Gray
#87a8a0  rgb(135, 168, 160)  hsl(165, 16%, 59%)  Opal
#a087a8  rgb(160, 135, 168)  hsl(285, 16%, 59%)  Mountbatten Pink