#B8A372

#b8a372 ≈ Ecru

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

#b8a372 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 72.16% red, 63.92% green and 44.71% blue; printed in CMYK it uses 0% cyan, 11.41% magenta, 38.04% yellow and 27.84% black. Its hue angle is 42°, with 33.02% saturation and 58.43% 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.52:1 (WCAG AAA). The closest named color is Ecru (#c2b280), ΔE 4.4.

Description generated from the measured properties of this color.

Conversions of #b8a372 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.376

Readable text 2.46:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.52:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a5a5a5 ≈ 0.003% of males
Achromatomaly #ada493 ≈ 0.001% of males
Protanopia #aea26f ≈ 1.01% of males
Deuteranopia #b3a774 ≈ 1.27% of males
Tritanopia #c39b96 ≈ 0.0001% of males
Protanomaly #b2a270 ≈ 1.08% of males
Deuteranomaly #b5a673 ≈ 4.63% of males
Tritanomaly #be9e89 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b8a372 {
  color: #b8a372;
}
Background
.bg-b8a372 {
  background-color: #b8a372;
  color: #000000;
}
Border
.border-b8a372 {
  border: 2px solid #b8a372;
}
CSS variables
:root {
  --color-primary: #b8a372;
  --color-primary-rgb: 184 163 114;
  --color-primary-hsl: 42 33% 58%;
}
Gradient
.gradient-b8a372 {
  background: linear-gradient(135deg, #b8a372, #aab872);
}
Colored shadow
.shadow-b8a372 {
  box-shadow: 0 8px 24px rgb(184 163 114 / 0.35);
}

Ecru
#b8a372  rgb(184, 163, 114)  hsl(42, 33%, 58%)  Ecru
#7287b8  rgb(114, 135, 184)  hsl(222, 33%, 58%)  Glaucous
#72b8a3  rgb(114, 184, 163)  hsl(162, 33%, 58%)  Medium Aquamarine
#a372b8  rgb(163, 114, 184)  hsl(282, 33%, 58%)  Purple Mountain Majesty