#40972B Color Information

Hex color code: #40972B

#40972B is a neutral green color. In RGB it is (64, 151, 43), and in HSL it is (108°, 56%, 38%). It is commonly used in modern UI design.

Try:
Color NameOlive Drab
HEX
#40972B
RGB
64, 151, 43
HSL
108°, 56%, 38%
CMYK
58%, 0%, 72%, 41%

Shades

CSS Usage
color: #40972B;
background-color: #40972B;
border-color: #40972B;
box-shadow: 0 0 10px #40972B;
border: 2px solid #40972B;
Tailwind Usage
bg-[#40972B]
text-[#40972B]
border-[#40972B]
shadow-[0_0_10px_40972B]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #40972B, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #40972B; color: #000000; }

Badge

New Feature
.badge { background-color: #40972B; 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 #40972B; background-color: #40972B15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #40972B20; border-left: 4px solid #40972B; }

Link / Accent

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

a { color: #40972B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #40972B in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

64, 151, 43

Red: 64 / Green: 151 / Blue: 43

HSL

108°, 56%, 38%

Hue: 108° / Saturation: 56% / Lightness: 38%

CMYK

58%, 0%, 72%, 41%

Cyan: 58% / Magenta: 0% / Yellow: 72% / Key: 41%

What color is #40972B?

#40972B is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #40972B to RGB:

rgb(64, 151, 43)HEX to RGB Converter →

HEX to HSL

Convert #40972B to HSL:

hsl(108, 56%, 38%)RGB to HSL Converter →

HEX to CMYK

Convert #40972B to CMYK:

cmyk(58%, 0%, 72%, 41%)Color Converter →

Color Meaning and Usage

A balanced green tone, #40972B has RGB (64, 151, 43) and HSL (108°, 56%, 38%). Known for evoking nature and harmony, this green hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #40972B is #812B97, creating high-contrast pairings. For softer combinations, try analogous colors like #77972B.

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

Contrast with #40972B

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

Contrast Ratio: 5.68:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #40972B?

#40972B is a balanced green color - a green hue that evokes nature and harmony.

What is the RGB value of #40972B?

#40972B in RGB is (64, 151, 43) - 64 red, 151 green, and 43 blue.

How to use #40972B in CSS?

Use #40972B directly in your CSS properties like color or background-color.

What colors go well with #40972B?

#812B97 (complementary), #77972B (analogous), and #275B1A (lighter shade) work well with #40972B.