#42DF2A Color Information

Hex color code: #42DF2A

The hex color #42DF2A is a bold green with RGB values of (66, 223, 42) and HSL of (112°, 74%, 52%). It is frequently seen in web interfaces.

Try:
Color NameLawn Green
HEX
#42DF2A
RGB
66, 223, 42
HSL
112°, 74%, 52%
CMYK
70%, 0%, 81%, 13%

Shades

CSS Usage
color: #42DF2A;
background-color: #42DF2A;
border-color: #42DF2A;
box-shadow: 0 0 10px #42DF2A;
border: 2px solid #42DF2A;
Tailwind Usage
bg-[#42DF2A]
text-[#42DF2A]
border-[#42DF2A]
shadow-[0_0_10px_42DF2A]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #42DF2A, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #42DF2A; color: #000000; }

Badge

New Feature
.badge { background-color: #42DF2A; 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 #42DF2A; background-color: #42DF2A15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #42DF2A20; border-left: 4px solid #42DF2A; }

Link / Accent

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

a { color: #42DF2A; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #42DF2A in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

66, 223, 42

Red: 66 / Green: 223 / Blue: 42

HSL

112°, 74%, 52%

Hue: 112° / Saturation: 74% / Lightness: 52%

CMYK

70%, 0%, 81%, 13%

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

What color is #42DF2A?

#42DF2A is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #42DF2A to RGB:

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

HEX to HSL

Convert #42DF2A to HSL:

hsl(112, 74%, 52%)RGB to HSL Converter →

HEX to CMYK

Convert #42DF2A to CMYK:

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

Color Meaning and Usage

#42DF2A is a striking green color with RGB values of 66, 223, 42 and HSL of 112°, 74%, 52%. 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 #42DF2A is #C72ADF, creating high-contrast pairings. For softer combinations, try analogous colors like #9DDF2A.

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

Contrast with #42DF2A

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #42DF2A?

#42DF2A is a striking green color - a green hue that evokes nature and harmony.

What is the RGB value of #42DF2A?

#42DF2A in RGB is (66, 223, 42) - 66 red, 223 green, and 42 blue.

How to use #42DF2A in CSS?

Use #42DF2A directly in your CSS properties like color or background-color.

What colors go well with #42DF2A?

#C72ADF (complementary), #9DDF2A (analogous), and #2BA419 (lighter shade) work well with #42DF2A.