#B2AB2C

#b2ab2c ≈ Brass

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

#b2ab2c is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 69.8% red, 67.06% green and 17.25% blue; printed in CMYK it uses 0% cyan, 3.93% magenta, 75.28% yellow and 30.2% black. Its hue angle is 56.87°, with 60.36% saturation and 43.53% 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.75:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 3.66.

Description generated from the measured properties of this color.

Conversions of #b2ab2c 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.3877

Readable text 2.4:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.75:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a7a7a7 ≈ 0.003% of males
Achromatomaly #aca987 ≈ 0.001% of males
Protanopia #baa410 ≈ 1.01% of males
Deuteranopia #bdaa36 ≈ 1.27% of males
Tritanopia #bf9f93 ≈ 0.0001% of males
Protanomaly #b7a71e ≈ 1.08% of males
Deuteranomaly #b9aa32 ≈ 4.63% of males
Tritanomaly #baa477 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b2ab2c {
  color: #b2ab2c;
}
Background
.bg-b2ab2c {
  background-color: #b2ab2c;
  color: #000000;
}
Border
.border-b2ab2c {
  border: 2px solid #b2ab2c;
}
CSS variables
:root {
  --color-primary: #b2ab2c;
  --color-primary-rgb: 178 171 44;
  --color-primary-hsl: 57 60% 44%;
}
Gradient
.gradient-b2ab2c {
  background: linear-gradient(135deg, #b2ab2c, #76b22c);
}
Colored shadow
.shadow-b2ab2c {
  box-shadow: 0 8px 24px rgb(178 171 44 / 0.35);
}

Brass
#b2ab2c  rgb(178, 171, 44)  hsl(57, 60%, 44%)  Brass
#2c33b2  rgb(44, 51, 178)  hsl(237, 60%, 44%)  Persian Blue
#2cb2ab  rgb(44, 178, 171)  hsl(177, 60%, 44%)  Light Sea Green
#ab2cb2  rgb(171, 44, 178)  hsl(297, 60%, 44%)  Purpureus