#BA9934

#ba9934 ≈ Brass

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

#ba9934 is a color from the yellow family, with medium lightness and strong saturation. In the RGB model it is made of 72.94% red, 60% green and 20.39% blue; printed in CMYK it uses 0% cyan, 17.74% magenta, 72.04% yellow and 27.06% black. Its hue angle is 45.22°, with 56.3% saturation and 46.67% 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 7.69:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 6.18.

Description generated from the measured properties of this color.

Conversions of #ba9934 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.3347

Readable text 2.73:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 7.69:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #9c9c9c ≈ 0.003% of males
Achromatomaly #a99b80 ≈ 0.001% of males
Protanopia #aa9725 ≈ 1.01% of males
Deuteranopia #b2a039 ≈ 1.27% of males
Tritanopia #c98c85 ≈ 0.0001% of males
Protanomaly #b1982c ≈ 1.08% of males
Deuteranomaly #b59d37 ≈ 4.63% of males
Tritanomaly #c3916d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ba9934 {
  color: #ba9934;
}
Background
.bg-ba9934 {
  background-color: #ba9934;
  color: #000000;
}
Border
.border-ba9934 {
  border: 2px solid #ba9934;
}
CSS variables
:root {
  --color-primary: #ba9934;
  --color-primary-rgb: 186 153 52;
  --color-primary-hsl: 45 56% 47%;
}
Gradient
.gradient-ba9934 {
  background: linear-gradient(135deg, #ba9934, #98ba34);
}
Colored shadow
.shadow-ba9934 {
  box-shadow: 0 8px 24px rgb(186 153 52 / 0.35);
}

Brass
#ba9934  rgb(186, 153, 52)  hsl(45, 56%, 47%)  Brass
#3455ba  rgb(52, 85, 186)  hsl(225, 56%, 47%)  Sapphire
#34ba99  rgb(52, 186, 153)  hsl(165, 56%, 47%)  Mint
#9934ba  rgb(153, 52, 186)  hsl(285, 56%, 47%)  Dark Orchid