#787C46 Color Information

Hex color code: #787C46

#787C46 is a pastel yellow color. In RGB it is (120, 124, 70), and in HSL it is (64°, 28%, 38%). It is commonly used in modern UI design.

Try:
Color NameOlive Drab
HEX
#787C46
RGB
120, 124, 70
HSL
64°, 28%, 38%
CMYK
3%, 0%, 44%, 51%

Shades

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

Generate Gradient

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

Preview in UI

Button

.btn-primary { background-color: #787C46; color: #000000; }

Badge

New Feature
.badge { background-color: #787C46; 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 #787C46; background-color: #787C4615; }

Alert / Toast

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

Link / Accent

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

a { color: #787C46; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #787C46 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

120, 124, 70

Red: 120 / Green: 124 / Blue: 70

HSL

64°, 28%, 38%

Hue: 64° / Saturation: 28% / Lightness: 38%

CMYK

3%, 0%, 44%, 51%

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

What color is #787C46?

#787C46 is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #787C46 to RGB:

rgb(120, 124, 70)HEX to RGB Converter →

HEX to HSL

Convert #787C46 to HSL:

hsl(64, 28%, 38%)RGB to HSL Converter →

HEX to CMYK

Convert #787C46 to CMYK:

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

Color Meaning and Usage

#787C46 is a subtle yellow color with RGB values of 120, 124, 70 and HSL of 64°, 28%, 38%. This green hue evokes nature and harmony, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #787C46 is #49467C, creating high-contrast pairings. For softer combinations, try analogous colors like #7C6546.

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

Contrast with #787C46

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #787C46?

#787C46 is a subtle yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #787C46?

#787C46 in RGB is (120, 124, 70) - 120 red, 124 green, and 70 blue.

How to use #787C46 in CSS?

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

What colors go well with #787C46?

#49467C (complementary), #7C6546 (analogous), and #494B2A (lighter shade) work well with #787C46.