What is hex #BABA2E color?

 
The hex code #BABA2E is closest to the named color Acid Green (#B0BF1A).
In professional design frameworks, this hue is considered a highly vibrant and energetic tone. It is perfect for drawing attention to critical elements like call-to-action buttons, highlights, or modern branding.

From a technical standpoint, this color is composed of 73% red, 73% green and 18% blue, resulting in rgb(186, 186, 46) and hsl(60, 60%, 45%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 0%, 75%, 27%).
In the HSV/HSB scale, #BABA2E features a hue of 60°, 75% saturation, and 73% brightness.

Hex #BABA2E Color Codes & Conversions

Closest Named Color
Acid Green (#B0BF1A)
Hex Code #BABA2E
Hex8 (RGBA Hex) #BABA2EFF
RGB (CSS) rgb(186, 186, 46)
RGBA (CSS) rgba(186, 186, 46, 1)
HSL (CSS) hsl(60, 60%, 45%)
HSLA (CSS) hsla(60, 60%, 45%, 1)
HSV / HSB (60°, 75%, 73%)
CMYK Values (0%, 0%, 75%, 27%)
OKLCH (Modern CSS) oklch(76.5% 0.153 109.5)
CIE-LAB (D65) 73.39, -15.97, 65.73
CIE XYZ 38.30, 45.76, 9.40
Decimal / Binary 12237358
10111010 10111010 00101110

Closest Standards & Equivalents

Closest Web Safe
#CCCC33
Inverse Color
#4545D1
Complementary Color
#2E2EBA
Closest Pantone®
Pantone 7765 C
Closest RAL
RAL 1012 [Lemon yellow]

#BABA2E Grayscale Equivalents

Average
#8B8B8B
Lightness (Desaturation)
#747474
Weighted (BT601)
#AAAAAA
Luma (BT709)
#B0B0B0

WCAG 2.1 Color Contrast & Accessibility

Check how #BABA2E complies with web accessibility standards (WCAG AA & AAA) for typography. Need to test against another custom color? Use our interactive contrast checker.

White Text on #BABA2E

Sample preview of readable typography on top of #BABA2E.

Contrast Ratio: 2.07:1
AA Fail AAA Fail

Black Text on #BABA2E

Sample preview of readable typography on top of #BABA2E.

Contrast Ratio: 10.15:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #BABA2E

Preview #BABA2E in real UI elements and copy ready-to-use CSS rules.

Background Preview
background-color: #BABA2E;
Typography Color Preview
color: #BABA2E;
Border & Shadow Preview
border: 2px solid #BABA2E;
CSS Custom Properties & Gradient
:root {
  --color-primary: #BABA2E;
  --color-primary-rgb: 186, 186, 46;
  --color-complementary: #2E2EBA;
}
.btn-accent {
  background-color: #BABA2E;
  color: #000000;
}

Hex #BABA2E Color Palettes

Complementary Palette

The complementary color of #BABA2E is #2E2EBA. Opposite on the color wheel, placing these two colors next to each other creates the strongest visual contrast.

Analogous Palette

The analogous color scheme of #BABA2E pairs with #BA742E and #74BA2E, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #BABA2E pairs with #742EBA and #2E74BA, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #BABA2E uses #BA2EBA and #2EBABA, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #BABA2E combines #2EBABA, #2E2EBA and #BA2E2E around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #BABA2E pairs with #2EBA74, #2E2EBA and #BA2E74 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #BABA2E

Tints

Tints are created by mixing #BABA2E with white, producing lighter variations.

Tones

Tones are created by mixing #BABA2E with gray, softening saturation.

Shades

Shades result from mixing #BABA2E with black, creating deeper variations.

Hex #BABA2E in Programming & CSS Frameworks

Copy the exact syntax for #BABA2E in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:

HTML / CSS #BABA2E
Tailwind CSS bg-[#BABA2E] text-[#BABA2E]
Java (AWT) new Color(186,186,46);
Python Color("#BABA2E")
.NET (C#) Color.FromArgb(255, 186,186,46);
Swift / iOS UIColor(red: 0.73, green: 0.73, blue: 0.18, alpha: 1)
Kotlin / Android Color.rgb(186, 186, 46)