#40520A Color Information

Hex color code: #40520A

A intense green shade, #40520A appears as (64, 82, 10) in RGB and (75°, 78%, 18%) in HSL. It is widely used in graphic design.

Try:
Color NameDark Olive Green
HEX
#40520A
RGB
64, 82, 10
HSL
75°, 78%, 18%
CMYK
22%, 0%, 88%, 68%

Shades

CSS Usage
color: #40520A;
background-color: #40520A;
border-color: #40520A;
box-shadow: 0 0 10px #40520A;
border: 2px solid #40520A;
Tailwind Usage
bg-[#40520A]
text-[#40520A]
border-[#40520A]
shadow-[0_0_10px_40520A]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #40520A, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #40520A; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #40520A; 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 #40520A; background-color: #40520A15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #40520A20; border-left: 4px solid #40520A; }

Link / Accent

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

a { color: #40520A; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #40520A in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

64, 82, 10

Red: 64 / Green: 82 / Blue: 10

HSL

75°, 78%, 18%

Hue: 75° / Saturation: 78% / Lightness: 18%

CMYK

22%, 0%, 88%, 68%

Cyan: 22% / Magenta: 0% / Yellow: 88% / Key: 68%

What color is #40520A?

#40520A is a very dark shade associated with sophistication and elegance.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #40520A to RGB:

rgb(64, 82, 10)HEX to RGB Converter →

HEX to HSL

Convert #40520A to HSL:

hsl(75, 78%, 18%)RGB to HSL Converter →

HEX to CMYK

Convert #40520A to CMYK:

cmyk(22%, 0%, 88%, 68%)Color Converter →

Color Meaning and Usage

A deep green tone, #40520A has RGB (64, 82, 10) and HSL (75°, 78%, 18%). Known for evoking sophistication and elegance, this very dark shade is frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #40520A is #1C0A52, creating high-contrast pairings. For softer combinations, try analogous colors like #52400A.

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

Contrast with #40520A

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #40520A?

#40520A is a deep green color - a very dark shade that evokes sophistication and elegance.

What is the RGB value of #40520A?

#40520A in RGB is (64, 82, 10) - 64 red, 82 green, and 10 blue.

How to use #40520A in CSS?

Use #40520A directly in your CSS properties like color or background-color.

What colors go well with #40520A?

#1C0A52 (complementary), #52400A (analogous), and #0B0E02 (lighter shade) work well with #40520A.