No. Pokémon Yellow (Game Boy) and Pokémon Silver (Game Boy Color) are not compatible for trading.
Trading requires compatible generations: Generation I (Red/Blue/Yellow) can trade with each other via Game Boy Link Cable; Generation II (Gold/Silver/Crystal) can trade with each other. Cross-generation trading wasn't possible until Generation III (GBA) with the Time Capsule mechanic removed.