#40543B Color Information

Hex color code: #40543B

A balanced green shade, #40543B appears as (64, 84, 59) in RGB and (108°, 17%, 28%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameDark Slate Gray
HEX
#40543B
RGB
64, 84, 59
HSL
108°, 17%, 28%
CMYK
24%, 0%, 30%, 67%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #40543B; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #40543B; color: #FFFFFF; }

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 #40543B; background-color: #40543B15; }

Alert / Toast

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

Link / Accent

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

a { color: #40543B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

64, 84, 59

Red: 64 / Green: 84 / Blue: 59

HSL

108°, 17%, 28%

Hue: 108° / Saturation: 17% / Lightness: 28%

CMYK

24%, 0%, 30%, 67%

Cyan: 24% / Magenta: 0% / Yellow: 30% / Key: 67%

What color is #40543B?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #40543B to RGB:

rgb(64, 84, 59)HEX to RGB Converter →

HEX to HSL

Convert #40543B to HSL:

hsl(108, 17%, 28%)RGB to HSL Converter →

HEX to CMYK

Convert #40543B to CMYK:

cmyk(24%, 0%, 30%, 67%)Color Converter →

Color Meaning and Usage

A subtle green tone, #40543B has RGB (64, 84, 59) and HSL (108°, 17%, 28%). Known for evoking nature and harmony, this green hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #40543B is #4F3B54, creating high-contrast pairings. For softer combinations, try analogous colors like #4C543B.

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

Contrast with #40543B

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

Contrast Ratio: 2.55:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #40543B?

#40543B is a subtle green color - a green hue that evokes nature and harmony.

What is the RGB value of #40543B?

#40543B in RGB is (64, 84, 59) - 64 red, 84 green, and 59 blue.

How to use #40543B in CSS?

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

What colors go well with #40543B?

#4F3B54 (complementary), #4C543B (analogous), and #1E271C (lighter shade) work well with #40543B.