#40C021 Color Information

Hex color code: #40C021

The hex color #40C021 is a striking green with RGB values of (64, 192, 33) and HSL of (108°, 71%, 44%). It is popular in mobile app design.

Try:
Color NameOlive Drab
HEX
#40C021
RGB
64, 192, 33
HSL
108°, 71%, 44%
CMYK
67%, 0%, 83%, 25%

Shades

CSS Usage
color: #40C021;
background-color: #40C021;
border-color: #40C021;
box-shadow: 0 0 10px #40C021;
border: 2px solid #40C021;
Tailwind Usage
bg-[#40C021]
text-[#40C021]
border-[#40C021]
shadow-[0_0_10px_40C021]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #40C021, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #40C021; color: #000000; }

Badge

New Feature
.badge { background-color: #40C021; 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 #40C021; background-color: #40C02115; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #40C02120; border-left: 4px solid #40C021; }

Link / Accent

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

a { color: #40C021; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #40C021 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

64, 192, 33

Red: 64 / Green: 192 / Blue: 33

HSL

108°, 71%, 44%

Hue: 108° / Saturation: 71% / Lightness: 44%

CMYK

67%, 0%, 83%, 25%

Cyan: 67% / Magenta: 0% / Yellow: 83% / Key: 25%

What color is #40C021?

#40C021 is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #40C021 to RGB:

rgb(64, 192, 33)HEX to RGB Converter →

HEX to HSL

Convert #40C021 to HSL:

hsl(108, 71%, 44%)RGB to HSL Converter →

HEX to CMYK

Convert #40C021 to CMYK:

cmyk(67%, 0%, 83%, 25%)Color Converter →

Color Meaning and Usage

A eye-catching green tone, #40C021 has RGB (64, 192, 33) and HSL (108°, 71%, 44%). Known for evoking nature and harmony, this green hue is frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #40C021 is #A021C0, creating high-contrast pairings. For softer combinations, try analogous colors like #90C021.

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

Contrast with #40C021

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #40C021?

#40C021 is a eye-catching green color - a green hue that evokes nature and harmony.

What is the RGB value of #40C021?

#40C021 in RGB is (64, 192, 33) - 64 red, 192 green, and 33 blue.

How to use #40C021 in CSS?

Use #40C021 directly in your CSS properties like color or background-color.

What colors go well with #40C021?

#A021C0 (complementary), #90C021 (analogous), and #2A7E15 (lighter shade) work well with #40C021.