#ABAB7C Color Information

Hex color code: #ABAB7C

A pastel yellow shade, #ABAB7C appears as (171, 171, 124) in RGB and (60°, 22%, 58%) in HSL. It is commonly used in modern UI design.

Try:
Color NameRosy Brown
HEX
#ABAB7C
RGB
171, 171, 124
HSL
60°, 22%, 58%
CMYK
0%, 0%, 27%, 33%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #ABAB7C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

171, 171, 124

Red: 171 / Green: 171 / Blue: 124

HSL

60°, 22%, 58%

Hue: 60° / Saturation: 22% / Lightness: 58%

CMYK

0%, 0%, 27%, 33%

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

What color is #ABAB7C?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #ABAB7C to RGB:

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

HEX to HSL

Convert #ABAB7C to HSL:

hsl(60, 22%, 58%)RGB to HSL Converter →

HEX to CMYK

Convert #ABAB7C to CMYK:

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

Color Meaning and Usage

#ABAB7C is a gentle yellow color with RGB values of 171, 171, 124 and HSL of 60°, 22%, 58%. This green hue evokes nature and harmony, making it suitable for commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #ABAB7C is #7C7CAB, creating high-contrast pairings. For softer combinations, try analogous colors like #AB947C.

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

Contrast with #ABAB7C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #ABAB7C?

#ABAB7C is a gentle yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #ABAB7C?

#ABAB7C in RGB is (171, 171, 124) - 171 red, 171 green, and 124 blue.

How to use #ABAB7C in CSS?

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

What colors go well with #ABAB7C?

#7C7CAB (complementary), #AB947C (analogous), and #868656 (lighter shade) work well with #ABAB7C.