#797E4E Color Information

Hex color code: #797E4E

A subtle yellow shade, #797E4E appears as (121, 126, 78) in RGB and (66°, 24%, 40%) in HSL. It is often used for branding and logos.

Try:
Color NameOlive Drab
HEX
#797E4E
RGB
121, 126, 78
HSL
66°, 24%, 40%
CMYK
4%, 0%, 38%, 51%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #797E4E; 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 #797E4E; background-color: #797E4E15; }

Alert / Toast

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

Link / Accent

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

a { color: #797E4E; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #797E4E in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

121, 126, 78

Red: 121 / Green: 126 / Blue: 78

HSL

66°, 24%, 40%

Hue: 66° / Saturation: 24% / Lightness: 40%

CMYK

4%, 0%, 38%, 51%

Cyan: 4% / Magenta: 0% / Yellow: 38% / Key: 51%

What color is #797E4E?

#797E4E is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #797E4E to RGB:

rgb(121, 126, 78)HEX to RGB Converter →

HEX to HSL

Convert #797E4E to HSL:

hsl(66, 24%, 40%)RGB to HSL Converter →

HEX to CMYK

Convert #797E4E to CMYK:

cmyk(4%, 0%, 38%, 51%)Color Converter →

Color Meaning and Usage

A delicate yellow tone, #797E4E has RGB (121, 126, 78) and HSL (66°, 24%, 40%). Known for evoking nature and harmony, this green hue is typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #797E4E is #524E7E, creating high-contrast pairings. For softer combinations, try analogous colors like #7E6B4E.

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

Contrast with #797E4E

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #797E4E?

#797E4E is a delicate yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #797E4E?

#797E4E in RGB is (121, 126, 78) - 121 red, 126 green, and 78 blue.

How to use #797E4E in CSS?

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

What colors go well with #797E4E?

#524E7E (complementary), #7E6B4E (analogous), and #4C4F30 (lighter shade) work well with #797E4E.