#42BA17 Color Information

Hex color code: #42BA17

#42BA17 is a dynamic green color. In RGB it is (66, 186, 23), and in HSL it is (104°, 78%, 41%). It is typically applied in digital products.

Try:
Color NameOlive Drab
HEX
#42BA17
RGB
66, 186, 23
HSL
104°, 78%, 41%
CMYK
65%, 0%, 88%, 27%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #42BA17; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

66, 186, 23

Red: 66 / Green: 186 / Blue: 23

HSL

104°, 78%, 41%

Hue: 104° / Saturation: 78% / Lightness: 41%

CMYK

65%, 0%, 88%, 27%

Cyan: 65% / Magenta: 0% / Yellow: 88% / Key: 27%

What color is #42BA17?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #42BA17 to RGB:

rgb(66, 186, 23)HEX to RGB Converter →

HEX to HSL

Convert #42BA17 to HSL:

hsl(104, 78%, 41%)RGB to HSL Converter →

HEX to CMYK

Convert #42BA17 to CMYK:

cmyk(65%, 0%, 88%, 27%)Color Converter →

Color Meaning and Usage

A eye-catching green tone, #42BA17 has RGB (66, 186, 23) and HSL (104°, 78%, 41%). 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 #42BA17 is #8F17BA, creating high-contrast pairings. For softer combinations, try analogous colors like #94BA17.

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

Contrast with #42BA17

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #42BA17?

#42BA17 is a eye-catching green color - a green hue that evokes nature and harmony.

What is the RGB value of #42BA17?

#42BA17 in RGB is (66, 186, 23) - 66 red, 186 green, and 23 blue.

How to use #42BA17 in CSS?

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

What colors go well with #42BA17?

#8F17BA (complementary), #94BA17 (analogous), and #2A760F (lighter shade) work well with #42BA17.