#40875C Color Information

Hex color code: #40875C

A soft green shade, #40875C appears as (64, 135, 92) in RGB and (144°, 36%, 39%) in HSL. It is typically applied in digital products.

Try:
Color NameSea Green
HEX
#40875C
RGB
64, 135, 92
HSL
144°, 36%, 39%
CMYK
53%, 0%, 32%, 47%

Shades

CSS Usage
color: #40875C;
background-color: #40875C;
border-color: #40875C;
box-shadow: 0 0 10px #40875C;
border: 2px solid #40875C;
Tailwind Usage
bg-[#40875C]
text-[#40875C]
border-[#40875C]
shadow-[0_0_10px_40875C]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #40875C, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #40875C; color: #000000; }

Badge

New Feature
.badge { background-color: #40875C; 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 #40875C; background-color: #40875C15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #40875C20; border-left: 4px solid #40875C; }

Link / Accent

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

a { color: #40875C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #40875C in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

64, 135, 92

Red: 64 / Green: 135 / Blue: 92

HSL

144°, 36%, 39%

Hue: 144° / Saturation: 36% / Lightness: 39%

CMYK

53%, 0%, 32%, 47%

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

What color is #40875C?

#40875C is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #40875C to RGB:

rgb(64, 135, 92)HEX to RGB Converter →

HEX to HSL

Convert #40875C to HSL:

hsl(144, 36%, 39%)RGB to HSL Converter →

HEX to CMYK

Convert #40875C to CMYK:

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

Color Meaning and Usage

#40875C is a gentle green color with RGB values of 64, 135, 92 and HSL of 144°, 36%, 39%. This green hue evokes nature and harmony, making it suitable for a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #40875C is #87406B, creating high-contrast pairings. For softer combinations, try analogous colors like #478740.

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

Contrast with #40875C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #40875C?

#40875C is a gentle green color - a green hue that evokes nature and harmony.

What is the RGB value of #40875C?

#40875C in RGB is (64, 135, 92) - 64 red, 135 green, and 92 blue.

How to use #40875C in CSS?

Use #40875C directly in your CSS properties like color or background-color.

What colors go well with #40875C?

#87406B (complementary), #478740 (analogous), and #275339 (lighter shade) work well with #40875C.