#797D2D Color Information

Hex color code: #797D2D

The hex color #797D2D is a pastel yellow with RGB values of (121, 125, 45) and HSL of (63°, 47%, 33%). It is commonly used in modern UI design.

Try:
Color NameOlive Drab
HEX
#797D2D
RGB
121, 125, 45
HSL
63°, 47%, 33%
CMYK
3%, 0%, 64%, 51%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #797D2D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

121, 125, 45

Red: 121 / Green: 125 / Blue: 45

HSL

63°, 47%, 33%

Hue: 63° / Saturation: 47% / Lightness: 33%

CMYK

3%, 0%, 64%, 51%

Cyan: 3% / Magenta: 0% / Yellow: 64% / Key: 51%

What color is #797D2D?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #797D2D to RGB:

rgb(121, 125, 45)HEX to RGB Converter →

HEX to HSL

Convert #797D2D to HSL:

hsl(63, 47%, 33%)RGB to HSL Converter →

HEX to CMYK

Convert #797D2D to CMYK:

cmyk(3%, 0%, 64%, 51%)Color Converter →

Color Meaning and Usage

#797D2D is a delicate yellow color with RGB values of 121, 125, 45 and HSL of 63°, 47%, 33%. This green hue evokes nature and harmony, making it suitable for frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #797D2D is #312D7C, creating high-contrast pairings. For softer combinations, try analogous colors like #7C582D.

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

Contrast with #797D2D

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #797D2D?

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

What is the RGB value of #797D2D?

#797D2D in RGB is (121, 125, 45) - 121 red, 125 green, and 45 blue.

How to use #797D2D in CSS?

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

What colors go well with #797D2D?

#312D7C (complementary), #7C582D (analogous), and #414318 (lighter shade) work well with #797D2D.