#797B6F Color Information

Hex color code: #797B6F

#797B6F is a balanced yellow color. In RGB it is (121, 123, 111), and in HSL it is (70°, 5%, 46%). It is frequently seen in web interfaces.

Try:
Color NameGray
HEX
#797B6F
RGB
121, 123, 111
HSL
70°, 5%, 46%
CMYK
2%, 0%, 10%, 52%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #797B6F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

121, 123, 111

Red: 121 / Green: 123 / Blue: 111

HSL

70°, 5%, 46%

Hue: 70° / Saturation: 5% / Lightness: 46%

CMYK

2%, 0%, 10%, 52%

Cyan: 2% / Magenta: 0% / Yellow: 10% / Key: 52%

What color is #797B6F?

#797B6F is a desaturated neutral associated with balance and subtlety.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #797B6F to RGB:

rgb(121, 123, 111)HEX to RGB Converter →

HEX to HSL

Convert #797B6F to HSL:

hsl(70, 5%, 46%)RGB to HSL Converter →

HEX to CMYK

Convert #797B6F to CMYK:

cmyk(2%, 0%, 10%, 52%)Color Converter →

Color Meaning and Usage

#797B6F is a neutral yellow color with RGB values of 121, 123, 111 and HSL of 70°, 5%, 46%. This desaturated neutral evokes balance and subtlety, making it suitable for commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #797B6F is #716F7B, creating high-contrast pairings. For softer combinations, try analogous colors like #7B776F.

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

Contrast with #797B6F

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #797B6F?

#797B6F is a neutral yellow color - a desaturated neutral that evokes balance and subtlety.

What is the RGB value of #797B6F?

#797B6F in RGB is (121, 123, 111) - 121 red, 123 green, and 111 blue.

How to use #797B6F in CSS?

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

What colors go well with #797B6F?

#716F7B (complementary), #7B776F (analogous), and #52534B (lighter shade) work well with #797B6F.