#B2971C

#b2971c ≈ Brass

  • yellow
  • Lightness: medium
  • Saturation: strong
  • Warm

#b2971c is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 69.8% red, 59.22% green and 10.98% blue; printed in CMYK it uses 0% cyan, 15.17% magenta, 84.27% yellow and 30.2% black. Its hue angle is 49.2°, with 72.82% saturation and 40.39% 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 7.34:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 5.8.

Description generated from the measured properties of this color.

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

Readable text 2.86:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 7.34:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #999999 ≈ 0.003% of males
Achromatomaly #a3987a ≈ 0.001% of males
Protanopia #a89400 ≈ 1.01% of males
Deuteranopia #af9c26 ≈ 1.27% of males
Tritanopia #c18a81 ≈ 0.0001% of males
Protanomaly #ac9507 ≈ 1.08% of males
Deuteranomaly #b09a22 ≈ 4.63% of males
Tritanomaly #bb8f67 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b2971c {
  color: #b2971c;
}
Background
.bg-b2971c {
  background-color: #b2971c;
  color: #000000;
}
Border
.border-b2971c {
  border: 2px solid #b2971c;
}
CSS variables
:root {
  --color-primary: #b2971c;
  --color-primary-rgb: 178 151 28;
  --color-primary-hsl: 49 73% 40%;
}
Gradient
.gradient-b2971c {
  background: linear-gradient(135deg, #b2971c, #82b21c);
}
Colored shadow
.shadow-b2971c {
  box-shadow: 0 8px 24px rgb(178 151 28 / 0.35);
}

Brass
#b2971c  rgb(178, 151, 28)  hsl(49, 73%, 40%)  Brass
#1c37b2  rgb(28, 55, 178)  hsl(229, 73%, 40%)  Persian Blue
#1cb297  rgb(28, 178, 151)  hsl(169, 73%, 40%)  Jungle Green
#971cb2  rgb(151, 28, 178)  hsl(289, 73%, 40%)  Dark Violet