#508E2A Color Information

Hex color code: #508E2A

A subtle green shade, #508E2A appears as (80, 142, 42) in RGB and (97°, 54%, 36%) in HSL. It is popular in mobile app design.

Try:
Color NameOlive Drab
HEX
#508E2A
RGB
80, 142, 42
HSL
97°, 54%, 36%
CMYK
44%, 0%, 70%, 44%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #508E2A; 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 #508E2A; background-color: #508E2A15; }

Alert / Toast

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

Link / Accent

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

a { color: #508E2A; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #508E2A in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

80, 142, 42

Red: 80 / Green: 142 / Blue: 42

HSL

97°, 54%, 36%

Hue: 97° / Saturation: 54% / Lightness: 36%

CMYK

44%, 0%, 70%, 44%

Cyan: 44% / Magenta: 0% / Yellow: 70% / Key: 44%

What color is #508E2A?

#508E2A is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #508E2A to RGB:

rgb(80, 142, 42)HEX to RGB Converter →

HEX to HSL

Convert #508E2A to HSL:

hsl(97, 54%, 36%)RGB to HSL Converter →

HEX to CMYK

Convert #508E2A to CMYK:

cmyk(44%, 0%, 70%, 44%)Color Converter →

Color Meaning and Usage

#508E2A is a muted green color with RGB values of 80, 142, 42 and HSL of 97°, 54%, 36%. This green hue evokes nature and harmony, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #508E2A is #672A8D, creating high-contrast pairings. For softer combinations, try analogous colors like #828D2A.

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

Contrast with #508E2A

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #508E2A?

#508E2A is a muted green color - a green hue that evokes nature and harmony.

What is the RGB value of #508E2A?

#508E2A in RGB is (80, 142, 42) - 80 red, 142 green, and 42 blue.

How to use #508E2A in CSS?

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

What colors go well with #508E2A?

#672A8D (complementary), #828D2A (analogous), and #2F5219 (lighter shade) work well with #508E2A.