#42D421 Color Information

Hex color code: #42D421

#42D421 is a vivid green color. In RGB it is (66, 212, 33), and in HSL it is (109°, 73%, 48%). It is commonly used in modern UI design.

Try:
Color NameLawn Green
HEX
#42D421
RGB
66, 212, 33
HSL
109°, 73%, 48%
CMYK
69%, 0%, 84%, 17%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #42D421; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

66, 212, 33

Red: 66 / Green: 212 / Blue: 33

HSL

109°, 73%, 48%

Hue: 109° / Saturation: 73% / Lightness: 48%

CMYK

69%, 0%, 84%, 17%

Cyan: 69% / Magenta: 0% / Yellow: 84% / Key: 17%

What color is #42D421?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #42D421 to RGB:

rgb(66, 212, 33)HEX to RGB Converter →

HEX to HSL

Convert #42D421 to HSL:

hsl(109, 73%, 48%)RGB to HSL Converter →

HEX to CMYK

Convert #42D421 to CMYK:

cmyk(69%, 0%, 84%, 17%)Color Converter →

Color Meaning and Usage

#42D421 is a dynamic green color with RGB values of 66, 212, 33 and HSL of 109°, 73%, 48%. This green hue evokes nature and harmony, making it suitable for widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #42D421 is #B321D4, creating high-contrast pairings. For softer combinations, try analogous colors like #9BD421.

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

Contrast with #42D421

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #42D421?

#42D421 is a dynamic green color - a green hue that evokes nature and harmony.

What is the RGB value of #42D421?

#42D421 in RGB is (66, 212, 33) - 66 red, 212 green, and 33 blue.

How to use #42D421 in CSS?

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

What colors go well with #42D421?

#B321D4 (complementary), #9BD421 (analogous), and #2D9217 (lighter shade) work well with #42D421.