Yellow

#FFFF00

Yellow is a yellow tone at #FFFF00. It sits at 60 degrees on the color wheel with 100% saturation and 50% lightness.

Color values

Where it sits

Tints and shades

9 steps, white to black
Tint 80%#FFFFCC
Tint 60%#FFFF99
Tint 40%#FFFF66
Tint 20%#FFFF33
BaseBase#FFFF00
Shade 20%#CCCC00
Shade 40%#999900
Shade 60%#666600
Shade 80%#333300

Tints mix Yellow with white, shades mix it with black. Use the light end for backgrounds and the dark end for text that has to stay readable.

Accessibility

WCAG contrast
Sample textThe quick brown fox jumps over the lazy dog.

On white1.07:1

Fails WCAG for text
Sample textThe quick brown fox jumps over the lazy dog.

On black19.56:1

Passes AAA for body text

Check a specific pairing in the contrast checker.

Other yellow colors

8 colors, dark to light

Frequently asked

4 questions people ask about Yellow.

  1. 1What is the hex code for Yellow?

    The hex code for Yellow is #FFFF00. In RGB that is rgb(255, 255, 0), and in HSL it is hsl(60, 100%, 50%).

  2. 2What RGB values make Yellow?

    Yellow is 255 red, 255 green, and 0 blue, written as rgb(255, 255, 0).

  3. 3Is Yellow readable as text on a white background?

    Yellow scores 1.07:1 against white. WCAG AA needs 4.5:1 for body text, so it fails and should be used for fills or borders rather than type.

  4. 4Is Yellow a valid CSS color name?

    Yes. You can write color: yellow directly in CSS, which every browser resolves to #FFFF00.