#45791B Color Information

Hex color code: #45791B

The hex color #45791B is a subtle green with RGB values of (69, 121, 27) and HSL of (93°, 64%, 29%). It is popular in mobile app design.

Try:
Color NameDark Olive Green
HEX
#45791B
RGB
69, 121, 27
HSL
93°, 64%, 29%
CMYK
43%, 0%, 78%, 53%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #45791B; 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 #45791B; background-color: #45791B15; }

Alert / Toast

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

Link / Accent

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

a { color: #45791B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

69, 121, 27

Red: 69 / Green: 121 / Blue: 27

HSL

93°, 64%, 29%

Hue: 93° / Saturation: 64% / Lightness: 29%

CMYK

43%, 0%, 78%, 53%

Cyan: 43% / Magenta: 0% / Yellow: 78% / Key: 53%

What color is #45791B?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #45791B to RGB:

rgb(69, 121, 27)HEX to RGB Converter →

HEX to HSL

Convert #45791B to HSL:

hsl(93, 64%, 29%)RGB to HSL Converter →

HEX to CMYK

Convert #45791B to CMYK:

cmyk(43%, 0%, 78%, 53%)Color Converter →

Color Meaning and Usage

A subtle green tone, #45791B has RGB (69, 121, 27) and HSL (93°, 64%, 29%). Known for evoking nature and harmony, this green hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #45791B is #4F1B79, creating high-contrast pairings. For softer combinations, try analogous colors like #75791B.

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

Contrast with #45791B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #45791B?

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

What is the RGB value of #45791B?

#45791B in RGB is (69, 121, 27) - 69 red, 121 green, and 27 blue.

How to use #45791B in CSS?

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

What colors go well with #45791B?

#4F1B79 (complementary), #75791B (analogous), and #213B0D (lighter shade) work well with #45791B.