Shades of Yellow
Yellow is the lightest hue on the wheel, so most of its shades are pale — cream, butter, lemon chiffon — while the deeper ones turn into mustard, goldenrod and olive. Copy any of them as hex, RGB or HSL.
Click any shade to copy its hex code.
Light yellow shades 13
Yellow shades 12
Dark yellow shades 12
Yellow color palettes
Five-colour palettes built from the shades above. Click a colour to copy it, or copy the whole palette.
Yellow gradients
Made from these yellow shades — copy the CSS.
Yellow gradients from the library
Antique Gold
Holiday Tinsel Gold
Holiday Holly Berry
Holiday Fireside
Halloween Jack-o’-Lantern
Halloween Candy Corn
Halloween Harvest Moon
Halloween Toxic Slime
Yellow color FAQ
What is the hex code for yellow?
The standard yellow hex code is #FFFF00, which is RGB(255, 255, 0). In CSS you can also write it as the keyword yellow.
How many shades of yellow are there?
There is no fixed number — a normal screen can show millions of variations. This page lists 37 named shades of yellow, from Ivory (#FFFFF0) to Olive (#808000), each with its hex, RGB and HSL code.
What is a light yellow hex code?
The lightest named yellows here are Ivory (#FFFFF0), Light Yellow (#FFFFE0), Cream (#FFFDD0). They work well as backgrounds and tints behind dark text.
What is a dark yellow hex code?
The darkest named yellows here are Goldenrod (#DAA520), Dark Goldenrod (#B8860B), Olive (#808000). Use them for text, borders and deep backgrounds with light text on top.
What colors go well with yellow?
Its complementary colour, opposite on the colour wheel, is #0000FF — high contrast, best as a small accent. For a calmer look, use its neighbours #FF8000 and #80FF00, or pair a yellow with a near-neutral from the same family.
How do I use these yellow shades in CSS?
Click any shade to copy its hex code, then use it anywhere CSS takes a colour: color: #FFFF00; or background: linear-gradient(135deg, #FFFFF0, #FFFF00);. RGB and HSL work the same way: rgb(255 255 0).
More color shades
Build with these colours: Palette Generator · Gradient Generator · Contrast Checker
