#31AF48 Color Information

Hex color code: #31AF48

A neutral green shade, #31AF48 appears as (49, 175, 72) in RGB and (131°, 56%, 44%) in HSL. It is commonly used in modern UI design.

Try:
Color NameSea Green
HEX
#31AF48
RGB
49, 175, 72
HSL
131°, 56%, 44%
CMYK
72%, 0%, 59%, 31%

Shades

CSS Usage
color: #31AF48;
background-color: #31AF48;
border-color: #31AF48;
box-shadow: 0 0 10px #31AF48;
border: 2px solid #31AF48;
Tailwind Usage
bg-[#31AF48]
text-[#31AF48]
border-[#31AF48]
shadow-[0_0_10px_31AF48]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #31AF48, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #31AF48; color: #000000; }

Badge

New Feature
.badge { background-color: #31AF48; 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 #31AF48; background-color: #31AF4815; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #31AF4820; border-left: 4px solid #31AF48; }

Link / Accent

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

a { color: #31AF48; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #31AF48 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

49, 175, 72

Red: 49 / Green: 175 / Blue: 72

HSL

131°, 56%, 44%

Hue: 131° / Saturation: 56% / Lightness: 44%

CMYK

72%, 0%, 59%, 31%

Cyan: 72% / Magenta: 0% / Yellow: 59% / Key: 31%

What color is #31AF48?

#31AF48 is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #31AF48 to RGB:

rgb(49, 175, 72)HEX to RGB Converter →

HEX to HSL

Convert #31AF48 to HSL:

hsl(131, 56%, 44%)RGB to HSL Converter →

HEX to CMYK

Convert #31AF48 to CMYK:

cmyk(72%, 0%, 59%, 31%)Color Converter →

Color Meaning and Usage

A balanced green tone, #31AF48 has RGB (49, 175, 72) and HSL (131°, 56%, 44%). Known for evoking nature and harmony, this green hue is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #31AF48 is #AF3198, creating high-contrast pairings. For softer combinations, try analogous colors like #59AF31.

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

Contrast with #31AF48

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #31AF48?

#31AF48 is a balanced green color - a green hue that evokes nature and harmony.

What is the RGB value of #31AF48?

#31AF48 in RGB is (49, 175, 72) - 49 red, 175 green, and 72 blue.

How to use #31AF48 in CSS?

Use #31AF48 directly in your CSS properties like color or background-color.

What colors go well with #31AF48?

#AF3198 (complementary), #59AF31 (analogous), and #217330 (lighter shade) work well with #31AF48.