#FFFF00

Yellow is a medium, vivid shade in the yellow color family, with a warm feel. Its HEX code is #FFFF00, which equals rgb(255, 255, 0) in RGB and hsl(60, 100%, 50%) in HSL. In print terms it converts to roughly C0 M0 Y100 K0, although exact CMYK results depend on the paper and color profile.

  • HEX#FFFF00
  • RGB255, 255, 0
  • HSL60°, 100%, 50%
  • CMYK0, 0, 100, 0
  • FamilyYellow
  • ToneMedium, vivid

About Yellow

Yellow shades are bright, sunny and attention-grabbing. They suggest optimism and clarity, and are often used for highlights, warnings and happy, youthful designs. It works well for buttons, headings, illustrations and brand accents. Text in black is the most readable choice on this color, with a contrast ratio of 19.56:1. Its complementary color is #0000FF.

Download Yellow as an image

Choose a size and format, then download a solid-color image — or tick colors in the library to batch-download a ZIP.

Loading colors…

Custom color

#3B82F6

Shade scale

Tip: tick the checkbox on any swatch to add it to a batch ZIP. Everything is generated in your browser — nothing is uploaded to a server.

Yellow color codes

HEX#FFFF00
RGBrgb(255, 255, 0)
HSLhsl(60, 100%, 50%)
HSV60°, 100%, 100%
CMYK0%, 0%, 100%, 0%
Decimal16776960

Shades and tints of Yellow

Lighter tints are mixed with white and darker shades are mixed with black.

  • 50#FFFFD5
  • 100#FFFFAA
  • 200#FFFF80
  • 300#FFFF55
  • 400#FFFF2B
  • 500#FFFF00
  • 600#D5D500
  • 700#AAAA00
  • 800#808000
  • 900#555500
  • 950#2B2B00

Color harmonies for Yellow

Contrast and accessibility of Yellow

Text colorSampleContrast ratioWCAG
White text on YellowAa1.07:1Fails
Black text on YellowAa19.56:1AAA (excellent)

CSS code for Yellow

background-color: #FFFF00;color: #FFFF00;background-color: rgb(255, 255, 0);background-color: hsl(60, 100%, 50%);:root { --color-yellow: #FFFF00; }class="bg-[#FFFF00]"

Colors similar to Yellow

More yellow shades

See all yellow shades →

Frequently asked questions

What is the HEX code for Yellow?

The HEX code for Yellow is #FFFF00.

What is the RGB value of Yellow?

Yellow has an RGB value of 255, 255, 0 (rgb(255, 255, 0)). In HSL it is 60°, 100%, 50%.

What text color should I use on Yellow?

Use black text on Yellow. White text has a contrast ratio of 1.07:1 and black text has 19.56:1; WCAG AA requires at least 4.5:1 for normal text.

What color goes well with Yellow?

The complementary color of Yellow is #0000FF. Analogous colors #FF8000 and #80FF00 also pair well.

Explore more