#798B45 Color Information

Hex color code: #798B45

The hex color #798B45 is a subtle green with RGB values of (121, 139, 69) and HSL of (75°, 34%, 41%). It is popular in mobile app design.

Try:
Color NameOlive Drab
HEX
#798B45
RGB
121, 139, 69
HSL
75°, 34%, 41%
CMYK
13%, 0%, 50%, 45%

Shades

CSS Usage
color: #798B45;
background-color: #798B45;
border-color: #798B45;
box-shadow: 0 0 10px #798B45;
border: 2px solid #798B45;
Tailwind Usage
bg-[#798B45]
text-[#798B45]
border-[#798B45]
shadow-[0_0_10px_798B45]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #798B45, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #798B45; color: #000000; }

Badge

New Feature
.badge { background-color: #798B45; color: #000000; }

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 #798B45; background-color: #798B4515; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #798B4520; border-left: 4px solid #798B45; }

Link / Accent

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

a { color: #798B45; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #798B45 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

121, 139, 69

Red: 121 / Green: 139 / Blue: 69

HSL

75°, 34%, 41%

Hue: 75° / Saturation: 34% / Lightness: 41%

CMYK

13%, 0%, 50%, 45%

Cyan: 13% / Magenta: 0% / Yellow: 50% / Key: 45%

What color is #798B45?

#798B45 is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #798B45 to RGB:

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

HEX to HSL

Convert #798B45 to HSL:

hsl(75, 34%, 41%)RGB to HSL Converter →

HEX to CMYK

Convert #798B45 to CMYK:

cmyk(13%, 0%, 50%, 45%)Color Converter →

Color Meaning and Usage

A delicate green tone, #798B45 has RGB (121, 139, 69) and HSL (75°, 34%, 41%). Known for evoking nature and harmony, this green hue is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #798B45 is #57458C, creating high-contrast pairings. For softer combinations, try analogous colors like #8C7A45.

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

Contrast with #798B45

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

Contrast Ratio: 5.59:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #798B45?

#798B45 is a delicate green color - a green hue that evokes nature and harmony.

What is the RGB value of #798B45?

#798B45 in RGB is (121, 139, 69) - 121 red, 139 green, and 69 blue.

How to use #798B45 in CSS?

Use #798B45 directly in your CSS properties like color or background-color.

What colors go well with #798B45?

#57458C (complementary), #8C7A45 (analogous), and #4E592C (lighter shade) work well with #798B45.