#BAAF2A

#baaf2a ≈ Brass

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

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

Description generated from the measured properties of this color.

Conversions of #baaf2a 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.4127

Readable text 2.27:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 9.25:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #acacac ≈ 0.003% of males
Achromatomaly #b2ad8b ≈ 0.001% of males
Protanopia #bfa906 ≈ 1.01% of males
Deuteranopia #c3af35 ≈ 1.27% of males
Tritanopia #c8a396 ≈ 0.0001% of males
Protanomaly #bdab1a ≈ 1.08% of males
Deuteranomaly #bfaf31 ≈ 4.63% of males
Tritanomaly #c3a879 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Brass
#baaf2a  rgb(186, 175, 42)  hsl(55, 63%, 45%)  Brass
#2a35ba  rgb(42, 53, 186)  hsl(235, 63%, 45%)  Persian Blue
#2abaaf  rgb(42, 186, 175)  hsl(175, 63%, 45%)  Tiffany Blue
#af2aba  rgb(175, 42, 186)  hsl(295, 63%, 45%)  Dark Orchid