#B7A866

#b7a866 ≈ Ecru

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

#b7a866 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 71.76% red, 65.88% green and 40% blue; printed in CMYK it uses 0% cyan, 8.2% magenta, 44.26% yellow and 28.24% black. Its hue angle is 48.89°, with 36% saturation and 55.88% 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.81:1 (WCAG AAA). The closest named color is Ecru (#c2b280), ΔE 4.78.

Description generated from the measured properties of this color.

Conversions of #b7a866 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.3903

Readable text 2.38:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.81:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a8a8a8 ≈ 0.003% of males
Achromatomaly #aea892 ≈ 0.001% of males
Protanopia #b4a561 ≈ 1.01% of males
Deuteranopia #b8aa69 ≈ 1.27% of males
Tritanopia #c29f98 ≈ 0.0001% of males
Protanomaly #b5a663 ≈ 1.08% of males
Deuteranomaly #b8a968 ≈ 4.63% of males
Tritanomaly #bea387 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b7a866 {
  color: #b7a866;
}
Background
.bg-b7a866 {
  background-color: #b7a866;
  color: #000000;
}
Border
.border-b7a866 {
  border: 2px solid #b7a866;
}
CSS variables
:root {
  --color-primary: #b7a866;
  --color-primary-rgb: 183 168 102;
  --color-primary-hsl: 49 36% 56%;
}
Gradient
.gradient-b7a866 {
  background: linear-gradient(135deg, #b7a866, #9db766);
}
Colored shadow
.shadow-b7a866 {
  box-shadow: 0 8px 24px rgb(183 168 102 / 0.35);
}

Ecru
#b7a866  rgb(183, 168, 102)  hsl(49, 36%, 56%)  Ecru
#6675b7  rgb(102, 117, 183)  hsl(229, 36%, 56%)  Glaucous
#66b7a8  rgb(102, 183, 168)  hsl(169, 36%, 56%)  Verdigris
#a866b7  rgb(168, 102, 183)  hsl(289, 36%, 56%)  Amethyst