#40730C Color Information

Hex color code: #40730C

A eye-catching green shade, #40730C appears as (64, 115, 12) in RGB and (90°, 81%, 25%) in HSL. It is widely used in graphic design.

Try:
Color NameDark Olive Green
HEX
#40730C
RGB
64, 115, 12
HSL
90°, 81%, 25%
CMYK
44%, 0%, 90%, 55%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #40730C; color: #FFFFFF; }

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #40730C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

64, 115, 12

Red: 64 / Green: 115 / Blue: 12

HSL

90°, 81%, 25%

Hue: 90° / Saturation: 81% / Lightness: 25%

CMYK

44%, 0%, 90%, 55%

Cyan: 44% / Magenta: 0% / Yellow: 90% / Key: 55%

What color is #40730C?

#40730C is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #40730C to RGB:

rgb(64, 115, 12)HEX to RGB Converter →

HEX to HSL

Convert #40730C to HSL:

hsl(90, 81%, 25%)RGB to HSL Converter →

HEX to CMYK

Convert #40730C to CMYK:

cmyk(44%, 0%, 90%, 55%)Color Converter →

Color Meaning and Usage

A eye-catching green tone, #40730C has RGB (64, 115, 12) and HSL (90°, 81%, 25%). Known for evoking energy and excitement, this highly saturated hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #40730C is #400C73, creating high-contrast pairings. For softer combinations, try analogous colors like #73730C.

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

Contrast with #40730C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #40730C?

#40730C is a eye-catching green color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #40730C?

#40730C in RGB is (64, 115, 12) - 64 red, 115 green, and 12 blue.

How to use #40730C in CSS?

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

What colors go well with #40730C?

#400C73 (complementary), #73730C (analogous), and #1A2E05 (lighter shade) work well with #40730C.