#BAAB2A

#baab2a ≈ Brass

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

#baab2a is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 72.94% red, 67.06% green and 16.47% blue; printed in CMYK it uses 0% cyan, 8.06% magenta, 77.42% yellow and 27.06% black. Its hue angle is 53.75°, with 63.16% saturation and 44.71% 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.95:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 3.36.

Description generated from the measured properties of this color.

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

Readable text 2.35:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.95:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a9a9a9 ≈ 0.003% of males
Achromatomaly #b0aa88 ≈ 0.001% of males
Protanopia #bba509 ≈ 1.01% of males
Deuteranopia #c0ac34 ≈ 1.27% of males
Tritanopia #c99e93 ≈ 0.0001% of males
Protanomaly #bba81b ≈ 1.08% of males
Deuteranomaly #bdac30 ≈ 4.63% of males
Tritanomaly #c3a477 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-baab2a {
  color: #baab2a;
}
Background
.bg-baab2a {
  background-color: #baab2a;
  color: #000000;
}
Border
.border-baab2a {
  border: 2px solid #baab2a;
}
CSS variables
:root {
  --color-primary: #baab2a;
  --color-primary-rgb: 186 171 42;
  --color-primary-hsl: 54 63% 45%;
}
Gradient
.gradient-baab2a {
  background: linear-gradient(135deg, #baab2a, #81ba2a);
}
Colored shadow
.shadow-baab2a {
  box-shadow: 0 8px 24px rgb(186 171 42 / 0.35);
}

Brass
#baab2a  rgb(186, 171, 42)  hsl(54, 63%, 45%)  Brass
#2a39ba  rgb(42, 57, 186)  hsl(234, 63%, 45%)  Persian Blue
#2abaab  rgb(42, 186, 171)  hsl(174, 63%, 45%)  Light Sea Green
#ab2aba  rgb(171, 42, 186)  hsl(294, 63%, 45%)  Dark Orchid