#B8A97F

#b8a97f ≈ Ecru

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

#b8a97f is a color from the yellow family, with medium lightness and muted saturation. In the RGB model it is made of 72.16% red, 66.27% green and 49.8% blue; printed in CMYK it uses 0% cyan, 8.15% magenta, 30.98% yellow and 27.84% black. Its hue angle is 44.21°, with 28.64% saturation and 60.98% 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 9.02:1 (WCAG AAA). The closest named color is Ecru (#c2b280), ΔE 3.14.

Description generated from the measured properties of this color.

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

Readable text 2.33:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 9.02:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #aaaaaa ≈ 0.003% of males
Achromatomaly #b0a99b ≈ 0.001% of males
Protanopia #b2a77c ≈ 1.01% of males
Deuteranopia #b6ac80 ≈ 1.27% of males
Tritanopia #c1a29e ≈ 0.0001% of males
Protanomaly #b5a87d ≈ 1.08% of males
Deuteranomaly #b7ab80 ≈ 4.63% of males
Tritanomaly #bda592 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b8a97f {
  color: #b8a97f;
}
Background
.bg-b8a97f {
  background-color: #b8a97f;
  color: #000000;
}
Border
.border-b8a97f {
  border: 2px solid #b8a97f;
}
CSS variables
:root {
  --color-primary: #b8a97f;
  --color-primary-rgb: 184 169 127;
  --color-primary-hsl: 44 29% 61%;
}
Gradient
.gradient-b8a97f {
  background: linear-gradient(135deg, #b8a97f, #aab87f);
}
Colored shadow
.shadow-b8a97f {
  box-shadow: 0 8px 24px rgb(184 169 127 / 0.35);
}

Ecru
#b8a97f  rgb(184, 169, 127)  hsl(44, 29%, 61%)  Ecru
#7f8eb8  rgb(127, 142, 184)  hsl(224, 29%, 61%)  Cool Gray
#7fb8a9  rgb(127, 184, 169)  hsl(164, 29%, 61%)  Verdigris
#a97fb8  rgb(169, 127, 184)  hsl(284, 29%, 61%)  Purple Mountain Majesty