#7E9873 Color Information

Hex color code: #7E9873

A muted green shade, #7E9873 appears as (126, 152, 115) in RGB and (102°, 15%, 52%) in HSL. It is widely used in graphic design.

Try:
Color NameGray
HEX
#7E9873
RGB
126, 152, 115
HSL
102°, 15%, 52%
CMYK
17%, 0%, 24%, 40%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #7E9873; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #7E9873 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

126, 152, 115

Red: 126 / Green: 152 / Blue: 115

HSL

102°, 15%, 52%

Hue: 102° / Saturation: 15% / Lightness: 52%

CMYK

17%, 0%, 24%, 40%

Cyan: 17% / Magenta: 0% / Yellow: 24% / Key: 40%

What color is #7E9873?

#7E9873 is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #7E9873 to RGB:

rgb(126, 152, 115)HEX to RGB Converter →

HEX to HSL

Convert #7E9873 to HSL:

hsl(102, 15%, 52%)RGB to HSL Converter →

HEX to CMYK

Convert #7E9873 to CMYK:

cmyk(17%, 0%, 24%, 40%)Color Converter →

Color Meaning and Usage

A balanced green tone, #7E9873 has RGB (126, 152, 115) and HSL (102°, 15%, 52%). Known for evoking nature and harmony, this green hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #7E9873 is #8C7297, creating high-contrast pairings. For softer combinations, try analogous colors like #909772.

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

Contrast with #7E9873

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

Contrast Ratio: 6.63:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #7E9873?

#7E9873 is a balanced green color - a green hue that evokes nature and harmony.

What is the RGB value of #7E9873?

#7E9873 in RGB is (126, 152, 115) - 126 red, 152 green, and 115 blue.

How to use #7E9873 in CSS?

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

What colors go well with #7E9873?

#8C7297 (complementary), #909772 (analogous), and #596D50 (lighter shade) work well with #7E9873.