#B2A970

#b2a970 ≈ Ecru

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

#b2a970 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 69.8% red, 66.27% green and 43.92% blue; printed in CMYK it uses 0% cyan, 5.06% magenta, 37.08% yellow and 30.2% black. Its hue angle is 51.82°, with 30% saturation and 56.86% 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.8:1 (WCAG AAA). The closest named color is Ecru (#c2b280), ΔE 4.33.

Description generated from the measured properties of this color.

Conversions of #b2a970 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#999966
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.3901

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

Achromatopsia #a8a8a8 ≈ 0.003% of males
Achromatomaly #aca895 ≈ 0.001% of males
Protanopia #b3a66c ≈ 1.01% of males
Deuteranopia #b6a972 ≈ 1.27% of males
Tritanopia #bba19b ≈ 0.0001% of males
Protanomaly #b3a76e ≈ 1.08% of males
Deuteranomaly #b4a971 ≈ 4.63% of males
Tritanomaly #b8a48b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b2a970 {
  color: #b2a970;
}
Background
.bg-b2a970 {
  background-color: #b2a970;
  color: #000000;
}
Border
.border-b2a970 {
  border: 2px solid #b2a970;
}
CSS variables
:root {
  --color-primary: #b2a970;
  --color-primary-rgb: 178 169 112;
  --color-primary-hsl: 52 30% 57%;
}
Gradient
.gradient-b2a970 {
  background: linear-gradient(135deg, #b2a970, #9ab270);
}
Colored shadow
.shadow-b2a970 {
  box-shadow: 0 8px 24px rgb(178 169 112 / 0.35);
}

Ecru
#b2a970  rgb(178, 169, 112)  hsl(52, 30%, 57%)  Ecru
#7079b2  rgb(112, 121, 178)  hsl(232, 30%, 57%)  Glaucous
#70b2a9  rgb(112, 178, 169)  hsl(172, 30%, 57%)  Verdigris
#a970b2  rgb(169, 112, 178)  hsl(292, 30%, 57%)  Purple Mountain Majesty