Pixel art illustration of a small pile of bright yellow dye powder with scattered grains
Minecraft Java Item ID

Yellow Dye ID

Yellow dye is a coloring item used on wool, terracotta, leather armor, and more. It comes from dandelions and sunflowers.

✓ Verified for Java Edition 1.21.11
Namespaced item ID minecraft:yellow_dye

Yellow Dye Item Facts

CategoryDyes
Maximum stack64
Available inSurvival and Creative
Shared ID, data value 11 (Java 1.12.2 and earlier)351

Shared ID, data value 11 (Java 1.12.2 and earlier): Reviewed for Java Edition 1.12.2 and earlier.

Give Command for Yellow Dye

Copy the current Java Edition command, or open the generator to change the player and quantity.

/give @p minecraft:yellow_dye 1

Customize this command → View crafting recipe →

Historical command for Java 1.12.2 and earlier

Modern namespaced IDs are recommended. This numerical form is only for old Java releases.

/give @p 351 1

Give command syntax by version

Java 1.13+
/give @p minecraft:yellow_dye 1
Namespaced ID (current format)
Java 1.8–1.12.2
/give @p 351 1 11
Numerical ID + data value
Bedrock Edition
/give @p minecraft:yellow_dye 1
Same namespaced ID (namespace optional)

Rows appear only when the underlying value is verified: the Java 1.8–1.12.2 row requires a reviewed historical numerical ID, and the Bedrock row appears only when this exact namespaced ID exists in the Bedrock registry.

How to Get Yellow Dye

Crafting Recipe

Combine 1 dandelion in any arrangement on a crafting table — makes 1 × Yellow Dye.

Combine 1 sunflower in any arrangement on a crafting table — makes 2 × Yellow Dye.

Combine 1 wildflowers in any arrangement on a crafting table — makes 1 × Yellow Dye.

Prefer commands? Jump back to the give command matrix above to get Yellow Dye instantly.

What Can You Craft With Yellow Dye?

Yellow Dye is a crafting ingredient in 10 reviewed recipes:

Yellow Dye Command Examples

  • Give 1 to nearest player: /give @p minecraft:yellow_dye 1
  • Give 1 to yourself: /give @s minecraft:yellow_dye 1
  • Give to a specific player: /give PlayerName minecraft:yellow_dye 1
  • Clear from inventory: /clear @p minecraft:yellow_dye

Yellow Dye FAQ

What is the item ID for Yellow Dye?

The item ID for Yellow Dye is minecraft:yellow_dye. Java Edition commands such as /give, /clear, and /setblock use this namespaced ID.

What is the numerical ID for Yellow Dye?

Yellow Dye has the historical numerical ID 351 with data value 11, used in Java Edition 1.12.2 and earlier. Current versions use minecraft:yellow_dye instead.

How do I give myself Yellow Dye in Minecraft?

Open the chat window and run /give @p minecraft:yellow_dye 1 to give the nearest player one Yellow Dye. Replace @p with a player name to target someone else.

How many Yellow Dye can stack in one slot?

Yellow Dye stacks up to 64 per inventory slot.

How do you craft Yellow Dye?

Yellow Dye is crafted on a crafting table with 1 dandelion, which yields 1 Yellow Dye.

What can you craft with Yellow Dye?

Yellow Dye is used to craft Yellow Wool, Yellow Terracotta, Yellow Carpet, Yellow Stained Glass, and 6 more recipes.

Sources and Data Review

Item facts were reviewed for Java Edition 1.21.11 on .

Related Dyes

Item ID: minecraft:black_dye
Item ID: minecraft:blue_dye
Item ID: minecraft:brown_dye
Item ID: minecraft:cyan_dye
Item ID: minecraft:gray_dye
Item ID: minecraft:green_dye
Item ID: minecraft:light_blue_dye
Item ID: minecraft:light_gray_dye