#ABA242 Color Information

Hex color code: #ABA242

The hex color #ABA242 is a gentle yellow with RGB values of (171, 162, 66) and HSL of (55°, 44%, 46%). It is often used for branding and logos.

Try:
Color NamePeru
HEX
#ABA242
RGB
171, 162, 66
HSL
55°, 44%, 46%
CMYK
0%, 5%, 61%, 33%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #ABA242; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

171, 162, 66

Red: 171 / Green: 162 / Blue: 66

HSL

55°, 44%, 46%

Hue: 55° / Saturation: 44% / Lightness: 46%

CMYK

0%, 5%, 61%, 33%

Cyan: 0% / Magenta: 5% / Yellow: 61% / Key: 33%

What color is #ABA242?

#ABA242 is a orange-yellow hue associated with optimism and creativity.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #ABA242 to RGB:

rgb(171, 162, 66)HEX to RGB Converter →

HEX to HSL

Convert #ABA242 to HSL:

hsl(55, 44%, 46%)RGB to HSL Converter →

HEX to CMYK

Convert #ABA242 to CMYK:

cmyk(0%, 5%, 61%, 33%)Color Converter →

Color Meaning and Usage

A subtle yellow tone, #ABA242 has RGB (171, 162, 66) and HSL (55°, 44%, 46%). Known for evoking optimism and creativity, this orange-yellow hue is popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #ABA242 is #424AA9, creating high-contrast pairings. For softer combinations, try analogous colors like #A96D42.

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

Contrast with #ABA242

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #ABA242?

#ABA242 is a subtle yellow color - a orange-yellow hue that evokes optimism and creativity.

What is the RGB value of #ABA242?

#ABA242 in RGB is (171, 162, 66) - 171 red, 162 green, and 66 blue.

How to use #ABA242 in CSS?

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

What colors go well with #ABA242?

#424AA9 (complementary), #A96D42 (analogous), and #726C2C (lighter shade) work well with #ABA242.