#40875F Color Information

Hex color code: #40875F

The hex color #40875F is a soft green with RGB values of (64, 135, 95) and HSL of (146°, 36%, 39%). It is typically applied in digital products.

Try:
Color NameSea Green
HEX
#40875F
RGB
64, 135, 95
HSL
146°, 36%, 39%
CMYK
53%, 0%, 30%, 47%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #40875F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

64, 135, 95

Red: 64 / Green: 135 / Blue: 95

HSL

146°, 36%, 39%

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

CMYK

53%, 0%, 30%, 47%

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

What color is #40875F?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #40875F to RGB:

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

HEX to HSL

Convert #40875F to HSL:

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

HEX to CMYK

Convert #40875F to CMYK:

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

Color Meaning and Usage

#40875F is a subtle green color with RGB values of 64, 135, 95 and HSL of 146°, 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 #40875F is #874068, creating high-contrast pairings. For softer combinations, try analogous colors like #448740.

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

Contrast with #40875F

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #40875F?

#40875F is a subtle green color - a green hue that evokes nature and harmony.

What is the RGB value of #40875F?

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

How to use #40875F in CSS?

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

What colors go well with #40875F?

#874068 (complementary), #448740 (analogous), and #27533A (lighter shade) work well with #40875F.