best way to tell gear lube is the smell- it reeks. Similar to axle grease.
Engine oil will be dark gray and smells like, well, oil. Pull the dipstick and smell it for comparison.
Hydralic fluid is usually red or yellow-ish, won't be too dark, and usually if it smells at all, it's sort of a sweet smell.