#B8A778

#b8a778 ≈ Ecru

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

#b8a778 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 47.06% blue; printed in CMYK it uses 0% cyan, 9.24% magenta, 34.78% yellow and 27.84% black. Its hue angle is 44.06°, with 31.07% saturation and 59.61% 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.84:1 (WCAG AAA). The closest named color is Ecru (#c2b280), ΔE 3.13.

Description generated from the measured properties of this color.

Conversions of #b8a778 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.3918

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

Achromatopsia #a8a8a8 ≈ 0.003% of males
Achromatomaly #afa897 ≈ 0.001% of males
Protanopia #b1a575 ≈ 1.01% of males
Deuteranopia #b6aa79 ≈ 1.27% of males
Tritanopia #c2a09b ≈ 0.0001% of males
Protanomaly #b4a676 ≈ 1.08% of males
Deuteranomaly #b7a979 ≈ 4.63% of males
Tritanomaly #bea38e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b8a778 {
  color: #b8a778;
}
Background
.bg-b8a778 {
  background-color: #b8a778;
  color: #000000;
}
Border
.border-b8a778 {
  border: 2px solid #b8a778;
}
CSS variables
:root {
  --color-primary: #b8a778;
  --color-primary-rgb: 184 167 120;
  --color-primary-hsl: 44 31% 60%;
}
Gradient
.gradient-b8a778 {
  background: linear-gradient(135deg, #b8a778, #a9b878);
}
Colored shadow
.shadow-b8a778 {
  box-shadow: 0 8px 24px rgb(184 167 120 / 0.35);
}

Ecru
#b8a778  rgb(184, 167, 120)  hsl(44, 31%, 60%)  Ecru
#7889b8  rgb(120, 137, 184)  hsl(224, 31%, 60%)  Glaucous
#78b8a7  rgb(120, 184, 167)  hsl(164, 31%, 60%)  Verdigris
#a778b8  rgb(167, 120, 184)  hsl(284, 31%, 60%)  Purple Mountain Majesty