#787C31 Color Information
Hex color code: #787C31
A gentle yellow shade, #787C31 appears as (120, 124, 49) in RGB and (63°, 43%, 34%) in HSL. It is frequently seen in web interfaces.
Shades
color: #787C31; background-color: #787C31; border-color: #787C31; box-shadow: 0 0 10px #787C31; border: 2px solid #787C31;
bg-[#787C31] text-[#787C31] border-[#787C31] shadow-[0_0_10px_787C31]
Generate Gradient
background: linear-gradient(90deg, #787C31, #FF5733);
Preview in UI
Button
Badge
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.
Alert / Toast
Link / Accent
This is a paragraph with a link using your color. The color can be applied to interactive elements.
Related Colors
Complementary
Analogous
Triadic
Split Complementary
Tetradic
Monochromatic
Popular Colors
Common HEX Colors
Color Theory
Relationships based on the position of #787C31 in the color wheel.
RGB, HSL and CMYK Values
RGB
120, 124, 49
Red: 120 / Green: 124 / Blue: 49
HSL
63°, 43%, 34%
Hue: 63° / Saturation: 43% / Lightness: 34%
CMYK
3%, 0%, 60%, 51%
Cyan: 3% / Magenta: 0% / Yellow: 60% / Key: 51%
What color is #787C31?
#787C31 is a green hue associated with nature and harmony.
Color Shades
Complementary Colors
Color Palette
Color Meaning and Usage
A subtle yellow tone, #787C31 has RGB (120, 124, 49) and HSL (63°, 43%, 34%). Known for evoking nature and harmony, this green hue is a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.
The complementary color of #787C31 is #35317C, creating high-contrast pairings. For softer combinations, try analogous colors like #7C5A31.
Use #787C31 in CSS: color: #787C31 or background-color: #787C31. Create palettes with Color Palette Generator or check contrast with Contrast Checker.
Contrast with #787C31
Sample text on this color - The quick brown fox jumps over the lazy dog.
Need more control? Contrast Checker →
Frequently Asked Questions
What color is #787C31?
#787C31 is a subtle yellow color - a green hue that evokes nature and harmony.
What is the RGB value of #787C31?
#787C31 in RGB is (120, 124, 49) - 120 red, 124 green, and 49 blue.
How to use #787C31 in CSS?
Use #787C31 directly in your CSS properties like color or background-color.