#796A2F Color Information

Hex color code: #796A2F

#796A2F is a delicate yellow color. In RGB it is (121, 106, 47), and in HSL it is (48°, 44%, 33%). It is popular in mobile app design.

Try:
Color NameDark Olive Green
HEX
#796A2F
RGB
121, 106, 47
HSL
48°, 44%, 33%
CMYK
0%, 12%, 61%, 53%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #796A2F; 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 #796A2F; background-color: #796A2F15; }

Alert / Toast

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

Link / Accent

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

a { color: #796A2F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #796A2F in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

121, 106, 47

Red: 121 / Green: 106 / Blue: 47

HSL

48°, 44%, 33%

Hue: 48° / Saturation: 44% / Lightness: 33%

CMYK

0%, 12%, 61%, 53%

Cyan: 0% / Magenta: 12% / Yellow: 61% / Key: 53%

What color is #796A2F?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #796A2F to RGB:

rgb(121, 106, 47)HEX to RGB Converter →

HEX to HSL

Convert #796A2F to HSL:

hsl(48, 44%, 33%)RGB to HSL Converter →

HEX to CMYK

Convert #796A2F to CMYK:

cmyk(0%, 12%, 61%, 53%)Color Converter →

Color Meaning and Usage

A soft yellow tone, #796A2F has RGB (121, 106, 47) and HSL (48°, 44%, 33%). Known for evoking optimism and creativity, this orange-yellow hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #796A2F is #2F3E79, creating high-contrast pairings. For softer combinations, try analogous colors like #79452F.

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

Contrast with #796A2F

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #796A2F?

#796A2F is a soft yellow color - a orange-yellow hue that evokes optimism and creativity.

What is the RGB value of #796A2F?

#796A2F in RGB is (121, 106, 47) - 121 red, 106 green, and 47 blue.

How to use #796A2F in CSS?

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

What colors go well with #796A2F?

#2F3E79 (complementary), #79452F (analogous), and #423A1A (lighter shade) work well with #796A2F.