#B8A96D

#b8a96d ≈ Ecru

  • yellow
  • Lightness: medium
  • Saturation: moderate
  • Warm

#b8a96d is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 72.16% red, 66.27% green and 42.75% blue; printed in CMYK it uses 0% cyan, 8.15% magenta, 40.76% yellow and 27.84% black. Its hue angle is 48°, with 34.56% saturation and 57.45% 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.93:1 (WCAG AAA). The closest named color is Ecru (#c2b280), ΔE 3.65.

Description generated from the measured properties of this color.

Conversions of #b8a96d 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.3967

Readable text 2.35:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.93:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a9a9a9 ≈ 0.003% of males
Achromatomaly #afa995 ≈ 0.001% of males
Protanopia #b5a669 ≈ 1.01% of males
Deuteranopia #b9ab6f ≈ 1.27% of males
Tritanopia #c3a19a ≈ 0.0001% of males
Protanomaly #b6a76a ≈ 1.08% of males
Deuteranomaly #b8aa6e ≈ 4.63% of males
Tritanomaly #bfa48a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b8a96d {
  color: #b8a96d;
}
Background
.bg-b8a96d {
  background-color: #b8a96d;
  color: #000000;
}
Border
.border-b8a96d {
  border: 2px solid #b8a96d;
}
CSS variables
:root {
  --color-primary: #b8a96d;
  --color-primary-rgb: 184 169 109;
  --color-primary-hsl: 48 35% 57%;
}
Gradient
.gradient-b8a96d {
  background: linear-gradient(135deg, #b8a96d, #a1b86d);
}
Colored shadow
.shadow-b8a96d {
  box-shadow: 0 8px 24px rgb(184 169 109 / 0.35);
}

Ecru
#b8a96d  rgb(184, 169, 109)  hsl(48, 35%, 57%)  Ecru
#6d7cb8  rgb(109, 124, 184)  hsl(228, 35%, 57%)  Glaucous
#6db8a9  rgb(109, 184, 169)  hsl(168, 35%, 57%)  Verdigris
#a96db8  rgb(169, 109, 184)  hsl(288, 35%, 57%)  Purple Mountain Majesty