#797239 Color Information

Hex color code: #797239

A delicate yellow shade, #797239 appears as (121, 114, 57) in RGB and (53°, 36%, 35%) in HSL. It is widely used in graphic design.

Try:
Color NameDark Olive Green
HEX
#797239
RGB
121, 114, 57
HSL
53°, 36%, 35%
CMYK
0%, 6%, 53%, 53%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #797239; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #797239; color: #FFFFFF; }

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 #797239; background-color: #79723915; }

Alert / Toast

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

Link / Accent

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

a { color: #797239; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

121, 114, 57

Red: 121 / Green: 114 / Blue: 57

HSL

53°, 36%, 35%

Hue: 53° / Saturation: 36% / Lightness: 35%

CMYK

0%, 6%, 53%, 53%

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

What color is #797239?

#797239 is a orange-yellow hue associated with optimism and creativity.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #797239 to RGB:

rgb(121, 114, 57)HEX to RGB Converter →

HEX to HSL

Convert #797239 to HSL:

hsl(53, 36%, 35%)RGB to HSL Converter →

HEX to CMYK

Convert #797239 to CMYK:

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

Color Meaning and Usage

A pastel yellow tone, #797239 has RGB (121, 114, 57) and HSL (53°, 36%, 35%). Known for evoking optimism and creativity, this orange-yellow hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #797239 is #394179, creating high-contrast pairings. For softer combinations, try analogous colors like #795239.

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

Contrast with #797239

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

Contrast Ratio: 4.28:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #797239?

#797239 is a pastel yellow color - a orange-yellow hue that evokes optimism and creativity.

What is the RGB value of #797239?

#797239 in RGB is (121, 114, 57) - 121 red, 114 green, and 57 blue.

How to use #797239 in CSS?

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

What colors go well with #797239?

#394179 (complementary), #795239 (analogous), and #454121 (lighter shade) work well with #797239.