#798B7F Color Information

Hex color code: #798B7F

The hex color #798B7F is a subtle green with RGB values of (121, 139, 127) and HSL of (140°, 7%, 51%). It is often used for branding and logos.

Try:
Color NameGray
HEX
#798B7F
RGB
121, 139, 127
HSL
140°, 7%, 51%
CMYK
13%, 0%, 9%, 45%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #798B7F; 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 #798B7F; background-color: #798B7F15; }

Alert / Toast

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

Link / Accent

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

a { color: #798B7F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

121, 139, 127

Red: 121 / Green: 139 / Blue: 127

HSL

140°, 7%, 51%

Hue: 140° / Saturation: 7% / Lightness: 51%

CMYK

13%, 0%, 9%, 45%

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

What color is #798B7F?

#798B7F is a desaturated neutral associated with balance and subtlety.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #798B7F to RGB:

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

HEX to HSL

Convert #798B7F to HSL:

hsl(140, 7%, 51%)RGB to HSL Converter →

HEX to CMYK

Convert #798B7F to CMYK:

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

Color Meaning and Usage

#798B7F is a neutral green color with RGB values of 121, 139, 127 and HSL of 140°, 7%, 51%. This desaturated neutral evokes balance and subtlety, making it suitable for often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #798B7F is #8B7985, creating high-contrast pairings. For softer combinations, try analogous colors like #7C8B79.

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

Contrast with #798B7F

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #798B7F?

#798B7F is a neutral green color - a desaturated neutral that evokes balance and subtlety.

What is the RGB value of #798B7F?

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

How to use #798B7F in CSS?

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

What colors go well with #798B7F?

#8B7985 (complementary), #7C8B79 (analogous), and #55625A (lighter shade) work well with #798B7F.