#50872C Color Information

Hex color code: #50872C

#50872C is a subtle green color. In RGB it is (80, 135, 44), and in HSL it is (96°, 51%, 35%). It is popular in mobile app design.

Try:
Color NameDark Olive Green
HEX
#50872C
RGB
80, 135, 44
HSL
96°, 51%, 35%
CMYK
41%, 0%, 67%, 47%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #50872C; 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 #50872C; background-color: #50872C15; }

Alert / Toast

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

Link / Accent

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

a { color: #50872C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #50872C in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

80, 135, 44

Red: 80 / Green: 135 / Blue: 44

HSL

96°, 51%, 35%

Hue: 96° / Saturation: 51% / Lightness: 35%

CMYK

41%, 0%, 67%, 47%

Cyan: 41% / Magenta: 0% / Yellow: 67% / Key: 47%

What color is #50872C?

#50872C is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #50872C to RGB:

rgb(80, 135, 44)HEX to RGB Converter →

HEX to HSL

Convert #50872C to HSL:

hsl(96, 51%, 35%)RGB to HSL Converter →

HEX to CMYK

Convert #50872C to CMYK:

cmyk(41%, 0%, 67%, 47%)Color Converter →

Color Meaning and Usage

A neutral green tone, #50872C has RGB (80, 135, 44) and HSL (96°, 51%, 35%). Known for evoking nature and harmony, this green hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #50872C is #622C87, creating high-contrast pairings. For softer combinations, try analogous colors like #7E872C.

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

Contrast with #50872C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #50872C?

#50872C is a neutral green color - a green hue that evokes nature and harmony.

What is the RGB value of #50872C?

#50872C in RGB is (80, 135, 44) - 80 red, 135 green, and 44 blue.

How to use #50872C in CSS?

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

What colors go well with #50872C?

#622C87 (complementary), #7E872C (analogous), and #2E4D19 (lighter shade) work well with #50872C.