#40751A Color Information

Hex color code: #40751A

The hex color #40751A is a subtle green with RGB values of (64, 117, 26) and HSL of (95°, 64%, 28%). It is often used for branding and logos.

Try:
Color NameDark Olive Green
HEX
#40751A
RGB
64, 117, 26
HSL
95°, 64%, 28%
CMYK
45%, 0%, 78%, 54%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #40751A; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

64, 117, 26

Red: 64 / Green: 117 / Blue: 26

HSL

95°, 64%, 28%

Hue: 95° / Saturation: 64% / Lightness: 28%

CMYK

45%, 0%, 78%, 54%

Cyan: 45% / Magenta: 0% / Yellow: 78% / Key: 54%

What color is #40751A?

#40751A is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #40751A to RGB:

rgb(64, 117, 26)HEX to RGB Converter →

HEX to HSL

Convert #40751A to HSL:

hsl(95, 64%, 28%)RGB to HSL Converter →

HEX to CMYK

Convert #40751A to CMYK:

cmyk(45%, 0%, 78%, 54%)Color Converter →

Color Meaning and Usage

#40751A is a neutral green color with RGB values of 64, 117, 26 and HSL of 95°, 64%, 28%. This green hue evokes nature and harmony, making it suitable for commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #40751A is #4F1A75, creating high-contrast pairings. For softer combinations, try analogous colors like #6D751A.

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

Contrast with #40751A

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #40751A?

#40751A is a neutral green color - a green hue that evokes nature and harmony.

What is the RGB value of #40751A?

#40751A in RGB is (64, 117, 26) - 64 red, 117 green, and 26 blue.

How to use #40751A in CSS?

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

What colors go well with #40751A?

#4F1A75 (complementary), #6D751A (analogous), and #1E360C (lighter shade) work well with #40751A.