#42AE52 Color Information

Hex color code: #42AE52

#42AE52 is a subtle green color. In RGB it is (66, 174, 82), and in HSL it is (129°, 45%, 47%). It is popular in mobile app design.

Try:
Color NameMedium Sea Green
HEX
#42AE52
RGB
66, 174, 82
HSL
129°, 45%, 47%
CMYK
62%, 0%, 53%, 32%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #42AE52; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

66, 174, 82

Red: 66 / Green: 174 / Blue: 82

HSL

129°, 45%, 47%

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

CMYK

62%, 0%, 53%, 32%

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

What color is #42AE52?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #42AE52 to RGB:

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

HEX to HSL

Convert #42AE52 to HSL:

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

HEX to CMYK

Convert #42AE52 to CMYK:

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

Color Meaning and Usage

A gentle green tone, #42AE52 has RGB (66, 174, 82) and HSL (129°, 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 #42AE52 is #AE429E, creating high-contrast pairings. For softer combinations, try analogous colors like #68AE42.

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

Contrast with #42AE52

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #42AE52?

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

What is the RGB value of #42AE52?

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

How to use #42AE52 in CSS?

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

What colors go well with #42AE52?

#AE429E (complementary), #68AE42 (analogous), and #2D7638 (lighter shade) work well with #42AE52.