#A6A979 Color Information

Hex color code: #A6A979

A subtle yellow shade, #A6A979 appears as (166, 169, 121) in RGB and (64°, 22%, 57%) in HSL. It is often used for branding and logos.

Try:
Color NameDark Sea Green
HEX
#A6A979
RGB
166, 169, 121
HSL
64°, 22%, 57%
CMYK
2%, 0%, 28%, 34%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #A6A979; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

166, 169, 121

Red: 166 / Green: 169 / Blue: 121

HSL

64°, 22%, 57%

Hue: 64° / Saturation: 22% / Lightness: 57%

CMYK

2%, 0%, 28%, 34%

Cyan: 2% / Magenta: 0% / Yellow: 28% / Key: 34%

What color is #A6A979?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #A6A979 to RGB:

rgb(166, 169, 121)HEX to RGB Converter →

HEX to HSL

Convert #A6A979 to HSL:

hsl(64, 22%, 57%)RGB to HSL Converter →

HEX to CMYK

Convert #A6A979 to CMYK:

cmyk(2%, 0%, 28%, 34%)Color Converter →

Color Meaning and Usage

A gentle yellow tone, #A6A979 has RGB (166, 169, 121) and HSL (64°, 22%, 57%). Known for evoking nature and harmony, this green hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #A6A979 is #7C79A9, creating high-contrast pairings. For softer combinations, try analogous colors like #A99579.

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

Contrast with #A6A979

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #A6A979?

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

What is the RGB value of #A6A979?

#A6A979 in RGB is (166, 169, 121) - 166 red, 169 green, and 121 blue.

How to use #A6A979 in CSS?

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

What colors go well with #A6A979?

#7C79A9 (complementary), #A99579 (analogous), and #808354 (lighter shade) work well with #A6A979.