#BABA21 Color Information

Hex color code: #BABA21

A balanced yellow shade, #BABA21 appears as (186, 186, 33) in RGB and (60°, 70%, 43%) in HSL. It is often used for branding and logos.

Try:
Color NameGoldenrod
HEX
#BABA21
RGB
186, 186, 33
HSL
60°, 70%, 43%
CMYK
0%, 0%, 82%, 27%

Shades

CSS Usage
color: #BABA21;
background-color: #BABA21;
border-color: #BABA21;
box-shadow: 0 0 10px #BABA21;
border: 2px solid #BABA21;
Tailwind Usage
bg-[#BABA21]
text-[#BABA21]
border-[#BABA21]
shadow-[0_0_10px_BABA21]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #BABA21, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #BABA21; color: #000000; }

Badge

New Feature
.badge { background-color: #BABA21; color: #000000; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #BABA21; background-color: #BABA2115; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #BABA2120; border-left: 4px solid #BABA21; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #BABA21; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #BABA21 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

186, 186, 33

Red: 186 / Green: 186 / Blue: 33

HSL

60°, 70%, 43%

Hue: 60° / Saturation: 70% / Lightness: 43%

CMYK

0%, 0%, 82%, 27%

Cyan: 0% / Magenta: 0% / Yellow: 82% / Key: 27%

What color is #BABA21?

#BABA21 is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #BABA21 to RGB:

rgb(186, 186, 33)HEX to RGB Converter →

HEX to HSL

Convert #BABA21 to HSL:

hsl(60, 70%, 43%)RGB to HSL Converter →

HEX to CMYK

Convert #BABA21 to CMYK:

cmyk(0%, 0%, 82%, 27%)Color Converter →

Color Meaning and Usage

#BABA21 is a neutral yellow color with RGB values of 186, 186, 33 and HSL of 60°, 70%, 43%. This green hue evokes nature and harmony, making it suitable for popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #BABA21 is #2121BA, creating high-contrast pairings. For softer combinations, try analogous colors like #BA6E21.

Use #BABA21 in CSS: color: #BABA21 or background-color: #BABA21. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #BABA21

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 10.13:1
WCAG AA: Pass
WCAG AAA: Pass

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #BABA21?

#BABA21 is a neutral yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #BABA21?

#BABA21 in RGB is (186, 186, 33) - 186 red, 186 green, and 33 blue.

How to use #BABA21 in CSS?

Use #BABA21 directly in your CSS properties like color or background-color.

What colors go well with #BABA21?

#2121BA (complementary), #BA6E21 (analogous), and #797915 (lighter shade) work well with #BABA21.