#8AA271 Color Information

Hex color code: #8AA271

The hex color #8AA271 is a subtle green with RGB values of (138, 162, 113) and HSL of (89°, 21%, 54%). It is often used for branding and logos.

Try:
Color NameGray
HEX
#8AA271
RGB
138, 162, 113
HSL
89°, 21%, 54%
CMYK
15%, 0%, 30%, 36%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #8AA271; 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 #8AA271; background-color: #8AA27115; }

Alert / Toast

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

Link / Accent

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

a { color: #8AA271; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #8AA271 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

138, 162, 113

Red: 138 / Green: 162 / Blue: 113

HSL

89°, 21%, 54%

Hue: 89° / Saturation: 21% / Lightness: 54%

CMYK

15%, 0%, 30%, 36%

Cyan: 15% / Magenta: 0% / Yellow: 30% / Key: 36%

What color is #8AA271?

#8AA271 is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #8AA271 to RGB:

rgb(138, 162, 113)HEX to RGB Converter →

HEX to HSL

Convert #8AA271 to HSL:

hsl(89, 21%, 54%)RGB to HSL Converter →

HEX to CMYK

Convert #8AA271 to CMYK:

cmyk(15%, 0%, 30%, 36%)Color Converter →

Color Meaning and Usage

A gentle green tone, #8AA271 has RGB (138, 162, 113) and HSL (89°, 21%, 54%). Known for evoking nature and harmony, this green hue is typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #8AA271 is #8971A2, creating high-contrast pairings. For softer combinations, try analogous colors like #A2A271.

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

Contrast with #8AA271

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #8AA271?

#8AA271 is a gentle green color - a green hue that evokes nature and harmony.

What is the RGB value of #8AA271?

#8AA271 in RGB is (138, 162, 113) - 138 red, 162 green, and 113 blue.

How to use #8AA271 in CSS?

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

What colors go well with #8AA271?

#8971A2 (complementary), #A2A271 (analogous), and #64784F (lighter shade) work well with #8AA271.