#42AE62 Color Information

Hex color code: #42AE62

The hex color #42AE62 is a gentle green with RGB values of (66, 174, 98) and HSL of (138°, 45%, 47%). It is frequently seen in web interfaces.

Try:
Color NameMedium Sea Green
HEX
#42AE62
RGB
66, 174, 98
HSL
138°, 45%, 47%
CMYK
62%, 0%, 44%, 32%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #42AE62; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

66, 174, 98

Red: 66 / Green: 174 / Blue: 98

HSL

138°, 45%, 47%

Hue: 138° / Saturation: 45% / Lightness: 47%

CMYK

62%, 0%, 44%, 32%

Cyan: 62% / Magenta: 0% / Yellow: 44% / Key: 32%

What color is #42AE62?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #42AE62 to RGB:

rgb(66, 174, 98)HEX to RGB Converter →

HEX to HSL

Convert #42AE62 to HSL:

hsl(138, 45%, 47%)RGB to HSL Converter →

HEX to CMYK

Convert #42AE62 to CMYK:

cmyk(62%, 0%, 44%, 32%)Color Converter →

Color Meaning and Usage

A gentle green tone, #42AE62 has RGB (66, 174, 98) and HSL (138°, 45%, 47%). Known for evoking nature and harmony, this green hue is a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #42AE62 is #AE428D, creating high-contrast pairings. For softer combinations, try analogous colors like #57AE42.

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

Contrast with #42AE62

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #42AE62?

#42AE62 is a gentle green color - a green hue that evokes nature and harmony.

What is the RGB value of #42AE62?

#42AE62 in RGB is (66, 174, 98) - 66 red, 174 green, and 98 blue.

How to use #42AE62 in CSS?

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

What colors go well with #42AE62?

#AE428D (complementary), #57AE42 (analogous), and #2D7643 (lighter shade) work well with #42AE62.