#7B786F Color Information

Hex color code: #7B786F

The hex color #7B786F is a balanced yellow with RGB values of (123, 120, 111) and HSL of (45°, 5%, 46%). It is often used for branding and logos.

Try:
Color NameGray
HEX
#7B786F
RGB
123, 120, 111
HSL
45°, 5%, 46%
CMYK
0%, 2%, 10%, 52%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #7B786F; color: #000000; }

Badge

New Feature
.badge { background-color: #7B786F; 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 #7B786F; background-color: #7B786F15; }

Alert / Toast

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

Link / Accent

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

a { color: #7B786F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #7B786F in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

123, 120, 111

Red: 123 / Green: 120 / Blue: 111

HSL

45°, 5%, 46%

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

CMYK

0%, 2%, 10%, 52%

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

What color is #7B786F?

#7B786F is a desaturated neutral associated with balance and subtlety.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #7B786F to RGB:

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

HEX to HSL

Convert #7B786F to HSL:

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

HEX to CMYK

Convert #7B786F to CMYK:

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

Color Meaning and Usage

#7B786F is a muted yellow color with RGB values of 123, 120, 111 and HSL of 45°, 5%, 46%. This desaturated neutral evokes balance and subtlety, making it suitable for frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #7B786F is #6F727B, creating high-contrast pairings. For softer combinations, try analogous colors like #7B726F.

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

Contrast with #7B786F

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #7B786F?

#7B786F is a muted yellow color - a desaturated neutral that evokes balance and subtlety.

What is the RGB value of #7B786F?

#7B786F in RGB is (123, 120, 111) - 123 red, 120 green, and 111 blue.

How to use #7B786F in CSS?

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

What colors go well with #7B786F?

#6F727B (complementary), #7B726F (analogous), and #53514B (lighter shade) work well with #7B786F.