Yellow color: codes and shades of yellow

Pure yellow is #FFFF00 in HEX and rgb(255, 255, 0). Pastel yellow is #FFFFBA, mustard #FFDB58.

HEX#FFFF00
RGBrgb(255, 255, 0)
HSLhsl(60, 100%, 50%)
CMYK0, 0, 100, 0
OKLCHoklch(0.97 0.21 110)
Formats
HSVhsv(60, 100%, 100%)
LABlab(97.6 -15.7 93.4)
OKLABoklab(0.968 -0.071 0.199)
DEC16776960

CMYK is approximate: printers differ

Open in the color picker

Shades of yellow

Light yellow#FFFFE0
Pastel yellow#FFFFBA
Lemon chiffon#FFFACD
Cornsilk#FFF8DC
Light goldenrod yellow#FAFAD2
Yellow#FFFF00
Butter yellow#FFF1A8
Lemon yellow#FFF44F
Canary#FFEF00
Maize#FBEC5D
Pale goldenrod#EEE8AA
Khaki#F0E68C
Show all 20 shades
Mustard#FFDB58
Gold#FFD700
Amber#FFBF00
Saffron#F4C430
Dark khaki#BDB76B
Goldenrod#DAA520
Dark goldenrod#B8860B
Ochre#CC7722

The full grid lists every named yellow with its code, from light to dark.

Yellow palettes

What goes with yellow

Yellow goes with gray and white for a fresh, modern look; with navy and blue for contrast; with purple, its opposite on the artist wheel; and with green and orange as neighbors.

How to make yellow

Yellow is a primary color in paint: it can't be mixed. On screens, red and green light make yellow. Add white for pastel yellow, a little brown for mustard.

Yellow is the color of sunshine, happiness and attention. It is the most visible color from far away, so it is used for warning signs, taxis and school buses.

Printables

Shades of yellow with names

Pale yellows include light yellow #FFFFE0, lemon chiffon #FFFACD, pastel yellow #FFFFBA and butter yellow #FFF1A8; they are favorite wall colors for kitchens and nurseries. Bright yellows are lemon yellow #FFF44F, yellow #FFFF00 and canary #FFEF00. Warm, golden yellows are mustard #FFDB58, gold #FFD700, saffron #F4C430 and amber #FFBF00. The deep, earthy yellows are goldenrod #DAA520, ochre #CC7722 and dark goldenrod #B8860B.

Yellow color codes

The hex code for yellow is #FFFF00: full red and full green light, no blue. In RGB it is rgb(255, 255, 0), in HSL hsl(60, 100%, 50%), and in CMYK simply 0, 0, 100, 0, because yellow is one of the printing inks.

What colors go with yellow

Yellow and gray is a calm, popular pair for rooms and brands. Yellow and navy, or yellow and blue, give strong but friendly contrast. Purple is yellow's opposite on the artist wheel, and the two make each other vivid. Green and orange are yellow's neighbors and make warm, natural schemes. For a pastel yellow wall, choose soft white trim, light wood and touches of sage or gray.

How to make yellow

Yellow can't be mixed from other paints. To change it: add white for pastel yellow, a little red or orange for golden yellow, and a little brown for mustard. Black makes yellow look green.

Questions and answers

What is the hex code for yellow?

#FFFF00, rgb(255, 255, 0).

What is the hex code for pastel yellow?

#FFFFBA. Light yellow #FFFFE0 and lemon chiffon #FFFACD are other soft yellows.

What goes with yellow?

Gray, white, navy, blue, purple, green and orange.

What are the names of shades of yellow?

Lemon, canary, butter, mustard, gold, saffron, amber, goldenrod and ochre.