#B2A245

#b2a245 ≈ Brass

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

#b2a245 is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 69.8% red, 63.53% green and 27.06% blue; printed in CMYK it uses 0% cyan, 8.99% magenta, 61.24% yellow and 30.2% black. Its hue angle is 51.19°, with 44.13% saturation and 48.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.15:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 1.46.

Description generated from the measured properties of this color.

Conversions of #b2a245 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.3574

Readable text 2.58:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.15:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a1a1a1 ≈ 0.003% of males
Achromatomaly #a8a286 ≈ 0.001% of males
Protanopia #b09e3b ≈ 1.01% of males
Deuteranopia #b5a44a ≈ 1.27% of males
Tritanopia #bf978e ≈ 0.0001% of males
Protanomaly #b19f3f ≈ 1.08% of males
Deuteranomaly #b4a348 ≈ 4.63% of males
Tritanomaly #ba9c77 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b2a245 {
  color: #b2a245;
}
Background
.bg-b2a245 {
  background-color: #b2a245;
  color: #000000;
}
Border
.border-b2a245 {
  border: 2px solid #b2a245;
}
CSS variables
:root {
  --color-primary: #b2a245;
  --color-primary-rgb: 178 162 69;
  --color-primary-hsl: 51 44% 48%;
}
Gradient
.gradient-b2a245 {
  background: linear-gradient(135deg, #b2a245, #8cb245);
}
Colored shadow
.shadow-b2a245 {
  box-shadow: 0 8px 24px rgb(178 162 69 / 0.35);
}

Brass
#b2a245  rgb(178, 162, 69)  hsl(51, 44%, 48%)  Brass
#4555b2  rgb(69, 85, 178)  hsl(231, 44%, 48%)  Sapphire
#45b2a2  rgb(69, 178, 162)  hsl(171, 44%, 48%)  Light Sea Green
#a245b2  rgb(162, 69, 178)  hsl(291, 44%, 48%)  Purpureus