#B2A148

#b2a148 ≈ Brass

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

#b2a148 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.14% green and 28.24% blue; printed in CMYK it uses 0% cyan, 9.55% magenta, 59.55% yellow and 30.2% black. Its hue angle is 50.38°, with 42.4% saturation and 49.02% 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.08:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 2.09.

Description generated from the measured properties of this color.

Conversions of #b2a148 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.3542

Readable text 2.6:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.08:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a1a1a1 ≈ 0.003% of males
Achromatomaly #a8a186 ≈ 0.001% of males
Protanopia #af9d3f ≈ 1.01% of males
Deuteranopia #b4a34c ≈ 1.27% of males
Tritanopia #bf968d ≈ 0.0001% of males
Protanomaly #b09f43 ≈ 1.08% of males
Deuteranomaly #b3a24b ≈ 4.63% of males
Tritanomaly #ba9b78 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b2a148 {
  color: #b2a148;
}
Background
.bg-b2a148 {
  background-color: #b2a148;
  color: #000000;
}
Border
.border-b2a148 {
  border: 2px solid #b2a148;
}
CSS variables
:root {
  --color-primary: #b2a148;
  --color-primary-rgb: 178 161 72;
  --color-primary-hsl: 50 42% 49%;
}
Gradient
.gradient-b2a148 {
  background: linear-gradient(135deg, #b2a148, #8eb248);
}
Colored shadow
.shadow-b2a148 {
  box-shadow: 0 8px 24px rgb(178 161 72 / 0.35);
}

Brass
#b2a148  rgb(178, 161, 72)  hsl(50, 42%, 49%)  Brass
#4859b2  rgb(72, 89, 178)  hsl(230, 42%, 49%)  Sapphire
#48b2a1  rgb(72, 178, 161)  hsl(170, 42%, 49%)  Light Sea Green
#a148b2  rgb(161, 72, 178)  hsl(290, 42%, 49%)  Purpureus