#31DF42 Color Information

Hex color code: #31DF42

A vivid green shade, #31DF42 appears as (49, 223, 66) in RGB and (126°, 73%, 53%) in HSL. It is commonly used in modern UI design.

Try:
Color NameMedium Sea Green
HEX
#31DF42
RGB
49, 223, 66
HSL
126°, 73%, 53%
CMYK
78%, 0%, 70%, 13%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #31DF42; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

49, 223, 66

Red: 49 / Green: 223 / Blue: 66

HSL

126°, 73%, 53%

Hue: 126° / Saturation: 73% / Lightness: 53%

CMYK

78%, 0%, 70%, 13%

Cyan: 78% / Magenta: 0% / Yellow: 70% / Key: 13%

What color is #31DF42?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #31DF42 to RGB:

rgb(49, 223, 66)HEX to RGB Converter →

HEX to HSL

Convert #31DF42 to HSL:

hsl(126, 73%, 53%)RGB to HSL Converter →

HEX to CMYK

Convert #31DF42 to CMYK:

cmyk(78%, 0%, 70%, 13%)Color Converter →

Color Meaning and Usage

A striking green tone, #31DF42 has RGB (49, 223, 66) and HSL (126°, 73%, 53%). Known for evoking nature and harmony, this green hue is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #31DF42 is #DF30CD, creating high-contrast pairings. For softer combinations, try analogous colors like #76DF30.

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

Contrast with #31DF42

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #31DF42?

#31DF42 is a striking green color - a green hue that evokes nature and harmony.

What is the RGB value of #31DF42?

#31DF42 in RGB is (49, 223, 66) - 49 red, 223 green, and 66 blue.

How to use #31DF42 in CSS?

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

What colors go well with #31DF42?

#DF30CD (complementary), #76DF30 (analogous), and #1AA828 (lighter shade) work well with #31DF42.