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
#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
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.
On white1.07:1
Fails WCAG for textOn black19.56:1
Passes AAA for body textCheck a specific pairing in the contrast checker.
4 questions people ask about 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%).
Yellow is 255 red, 255 green, and 0 blue, written as rgb(255, 255, 0).
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.
Yes. You can write color: yellow directly in CSS, which every browser resolves to #FFFF00.