Components / LEDs and lights / LED 5 mm yellow

LED 5 mm yellow

Yellow indicator LED. Needs a series resistor.

Colour / typeYellow
Forward voltageAbout 2.0 to 2.2 V
Max continuous current20 mA continuous
Package5 mm through-hole
SemiconductorsReviewedMPN 5 mm yellow LEDUsed in 36 projects
In short

What is the LED 5 mm yellow and what is it used for?

Yellow indicator LED. Needs a series resistor. Makers use it for traffic lights, status.

In the real world

Warning lights

How it works

Yellow LEDs have a forward voltage of about 2 V.

Key specifications

LED and switch specValue
Colour / typeYellow
Forward voltageAbout 2.0 to 2.2 V
Max continuous current20 mA continuous
Package5 mm through-hole
PolarityLong leg anode (+); flat edge cathode (−)

Pinout

Long legAnode (+)
Short leg, flat sideCathode (−)

How to use it

Always in series with a resistor: 220 Ω from 5 V gives about 13 mA.

void setup() { pinMode(9, OUTPUT); }

void loop() {
  digitalWrite(9, HIGH); delay(500);
  digitalWrite(9, LOW);  delay(500);
}

Applications

Alternatives

Buy at

Common questions

What is the LED 5 mm yellow used for?

In products: warning lights. In maker projects: traffic lights, status.

How does the LED 5 mm yellow work?

Yellow LEDs have a forward voltage of about 2 V.

What voltage does the LED 5 mm yellow need?

About 2.0 to 2.2 V.

What can I use instead of the LED 5 mm yellow?

LED 5 mm red.