#7B9872 Color Information

Hex color code: #7B9872

#7B9872 is a neutral green color. In RGB it is (123, 152, 114), and in HSL it is (106°, 16%, 52%). It is commonly used in modern UI design.

Try:
Color NameGray
HEX
#7B9872
RGB
123, 152, 114
HSL
106°, 16%, 52%
CMYK
19%, 0%, 25%, 40%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #7B9872; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

123, 152, 114

Red: 123 / Green: 152 / Blue: 114

HSL

106°, 16%, 52%

Hue: 106° / Saturation: 16% / Lightness: 52%

CMYK

19%, 0%, 25%, 40%

Cyan: 19% / Magenta: 0% / Yellow: 25% / Key: 40%

What color is #7B9872?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #7B9872 to RGB:

rgb(123, 152, 114)HEX to RGB Converter →

HEX to HSL

Convert #7B9872 to HSL:

hsl(106, 16%, 52%)RGB to HSL Converter →

HEX to CMYK

Convert #7B9872 to CMYK:

cmyk(19%, 0%, 25%, 40%)Color Converter →

Color Meaning and Usage

A subtle green tone, #7B9872 has RGB (123, 152, 114) and HSL (106°, 16%, 52%). Known for evoking nature and harmony, this green hue is a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #7B9872 is #8F7198, creating high-contrast pairings. For softer combinations, try analogous colors like #8E9871.

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

Contrast with #7B9872

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #7B9872?

#7B9872 is a subtle green color - a green hue that evokes nature and harmony.

What is the RGB value of #7B9872?

#7B9872 in RGB is (123, 152, 114) - 123 red, 152 green, and 114 blue.

How to use #7B9872 in CSS?

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

What colors go well with #7B9872?

#8F7198 (complementary), #8E9871 (analogous), and #566D4F (lighter shade) work well with #7B9872.