Skip to content

Yellow Color Codes: Shades of Yellow with HEX and RGB

Shades of yellow with HEX, RGB and HSL codes: named CSS yellows, Tailwind and Bootstrap yellows, web-safe yellows and yellow color combinations.

Named yellow colors (CSS)

Yellows in Tailwind CSS and Bootstrap

Web-safe yellow colors

Yellow color combinations

Five-color schemes built from #FACC15 with color-wheel rules. Click a color to copy it, or open the scheme in the palette generator.

Monochromatic Edit
Complementary Edit
Analogous Edit
Triadic Edit
Soft & muted Edit
High contrast Edit

Yellow is bright, optimistic and great for drawing the eye to badges, highlights and warnings. It is also the hardest color to use for text, because almost every yellow is too light on white.

Using yellow in web design

  • Use yellow as a background or highlight with dark text, not as a text color on white.
  • Warning banners usually combine a pale yellow background (#FEF9C3) with dark amber text (#713F12).
  • Yellow next to black or navy creates a strong, energetic contrast for hero sections.

About this page

The colors above are grouped automatically by hue, saturation and lightness. Click any swatch to copy its HEX code, or open Details to convert it to RGB, HSL, HSV and CMYK in the color picker. To build a full scale from one of these colors, use the tints & shades generator, and check text colors with the contrast checker.