#A1A871 Color Information

Hex color code: #A1A871

The hex color #A1A871 is a pastel yellow with RGB values of (161, 168, 113) and HSL of (68°, 24%, 55%). It is commonly used in modern UI design.

Try:
Color NameDark Sea Green
HEX
#A1A871
RGB
161, 168, 113
HSL
68°, 24%, 55%
CMYK
4%, 0%, 33%, 34%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #A1A871; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

161, 168, 113

Red: 161 / Green: 168 / Blue: 113

HSL

68°, 24%, 55%

Hue: 68° / Saturation: 24% / Lightness: 55%

CMYK

4%, 0%, 33%, 34%

Cyan: 4% / Magenta: 0% / Yellow: 33% / Key: 34%

What color is #A1A871?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #A1A871 to RGB:

rgb(161, 168, 113)HEX to RGB Converter →

HEX to HSL

Convert #A1A871 to HSL:

hsl(68, 24%, 55%)RGB to HSL Converter →

HEX to CMYK

Convert #A1A871 to CMYK:

cmyk(4%, 0%, 33%, 34%)Color Converter →

Color Meaning and Usage

#A1A871 is a subtle yellow color with RGB values of 161, 168, 113 and HSL of 68°, 24%, 55%. This green hue evokes nature and harmony, making it suitable for often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #A1A871 is #7871A8, creating high-contrast pairings. For softer combinations, try analogous colors like #A89471.

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

Contrast with #A1A871

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #A1A871?

#A1A871 is a subtle yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #A1A871?

#A1A871 in RGB is (161, 168, 113) - 161 red, 168 green, and 113 blue.

How to use #A1A871 in CSS?

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

What colors go well with #A1A871?

#7871A8 (complementary), #A89471 (analogous), and #787E4E (lighter shade) work well with #A1A871.