#B8A76D

#b8a76d ≈ Ecru

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

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

Description generated from the measured properties of this color.

Conversions of #b8a76d 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.3893

Readable text 2.39:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.79:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a8a8a8 ≈ 0.003% of males
Achromatomaly #aea794 ≈ 0.001% of males
Protanopia #b3a569 ≈ 1.01% of males
Deuteranopia #b7aa6f ≈ 1.27% of males
Tritanopia #c39f98 ≈ 0.0001% of males
Protanomaly #b5a66a ≈ 1.08% of males
Deuteranomaly #b7a96e ≈ 4.63% of males
Tritanomaly #bfa289 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Ecru
#b8a76d  rgb(184, 167, 109)  hsl(46, 35%, 57%)  Ecru
#6d7eb8  rgb(109, 126, 184)  hsl(226, 35%, 57%)  Glaucous
#6db8a7  rgb(109, 184, 167)  hsl(166, 35%, 57%)  Verdigris
#a76db8  rgb(167, 109, 184)  hsl(286, 35%, 57%)  Purple Mountain Majesty