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 | |
|---|---|---|
| RGB | rgb(255, 255, 0) | |
| HSL | hsl(60, 100%, 50%) | |
| CMYK | 0, 0, 100, 0 | |
| OKLCH | oklch(0.97 0.21 110) |
Formats
| HSV | hsv(60, 100%, 100%) | |
|---|---|---|
| LAB | lab(97.6 -15.7 93.4) | |
| OKLAB | oklab(0.968 -0.071 0.199) | |
| DEC | 16776960 |
CMYK is approximate: printers differ
Shades of yellow
#FFFFE0#FFFFBA#FFFACD#FFF8DC#FAFAD2#FFFF00#FFF1A8#FFF44F#FFEF00#FBEC5D#EEE8AA#F0E68CShow all 20 shades
#FFDB58#FFD700#FFBF00#F4C430#BDB76B#DAA520#B8860B#CC7722The full grid lists every named yellow with its code, from light to dark.
Yellow palettes
Sunny
#FFD23F #FFF4D6 #3D405B #81B29A
Pastel yellow
#FFFFBA #FFF1A8 #FFFFFF #B5EAD7 #BAE1FF
Mustard and gray
#FFDB58 #6C757D #DEE2E6 #212529
Yellow and navy
#FFC300 #1F2A44 #F7F3EE #8FA3BF
Lemon fresh
#FFF44F #A8E10C #2E6930 #FFFFFF
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.