Minecraft wiki entry for Dye, associated text: Wandering traders can sell 3 dyes for an emerald. In Bedrock Edition, they can also sell 3 lapis lazuli, bone meal, cocoa beans, or ink sacs for one emerald.