#ABAB49 Color Information

Hex color code: #ABAB49

The hex color #ABAB49 is a subtle yellow with RGB values of (171, 171, 73) and HSL of (60°, 40%, 48%). It is popular in mobile app design.

Try:
Color NameYellow Green
HEX
#ABAB49
RGB
171, 171, 73
HSL
60°, 40%, 48%
CMYK
0%, 0%, 57%, 33%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #ABAB49; 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 #ABAB49; background-color: #ABAB4915; }

Alert / Toast

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

Link / Accent

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

a { color: #ABAB49; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

171, 171, 73

Red: 171 / Green: 171 / Blue: 73

HSL

60°, 40%, 48%

Hue: 60° / Saturation: 40% / Lightness: 48%

CMYK

0%, 0%, 57%, 33%

Cyan: 0% / Magenta: 0% / Yellow: 57% / Key: 33%

What color is #ABAB49?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #ABAB49 to RGB:

rgb(171, 171, 73)HEX to RGB Converter →

HEX to HSL

Convert #ABAB49 to HSL:

hsl(60, 40%, 48%)RGB to HSL Converter →

HEX to CMYK

Convert #ABAB49 to CMYK:

cmyk(0%, 0%, 57%, 33%)Color Converter →

Color Meaning and Usage

A soft yellow tone, #ABAB49 has RGB (171, 171, 73) and HSL (60°, 40%, 48%). Known for evoking nature and harmony, this green hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #ABAB49 is #4949AB, creating high-contrast pairings. For softer combinations, try analogous colors like #AB7A49.

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

Contrast with #ABAB49

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #ABAB49?

#ABAB49 is a soft yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #ABAB49?

#ABAB49 in RGB is (171, 171, 73) - 171 red, 171 green, and 73 blue.

How to use #ABAB49 in CSS?

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

What colors go well with #ABAB49?

#4949AB (complementary), #AB7A49 (analogous), and #767632 (lighter shade) work well with #ABAB49.