#797949 Color Information

Hex color code: #797949

#797949 is a soft yellow color. In RGB it is (121, 121, 73), and in HSL it is (60°, 25%, 38%). It is typically applied in digital products.

Try:
Color NameOlive Drab
HEX
#797949
RGB
121, 121, 73
HSL
60°, 25%, 38%
CMYK
0%, 0%, 40%, 53%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #797949; 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 #797949; background-color: #79794915; }

Alert / Toast

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

Link / Accent

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

a { color: #797949; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #797949 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

121, 121, 73

Red: 121 / Green: 121 / Blue: 73

HSL

60°, 25%, 38%

Hue: 60° / Saturation: 25% / Lightness: 38%

CMYK

0%, 0%, 40%, 53%

Cyan: 0% / Magenta: 0% / Yellow: 40% / Key: 53%

What color is #797949?

#797949 is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #797949 to RGB:

rgb(121, 121, 73)HEX to RGB Converter →

HEX to HSL

Convert #797949 to HSL:

hsl(60, 25%, 38%)RGB to HSL Converter →

HEX to CMYK

Convert #797949 to CMYK:

cmyk(0%, 0%, 40%, 53%)Color Converter →

Color Meaning and Usage

A subtle yellow tone, #797949 has RGB (121, 121, 73) and HSL (60°, 25%, 38%). Known for evoking nature and harmony, this green hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #797949 is #494979, creating high-contrast pairings. For softer combinations, try analogous colors like #796149.

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

Contrast with #797949

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #797949?

#797949 is a subtle yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #797949?

#797949 in RGB is (121, 121, 73) - 121 red, 121 green, and 73 blue.

How to use #797949 in CSS?

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

What colors go well with #797949?

#494979 (complementary), #796149 (analogous), and #49492C (lighter shade) work well with #797949.