#FFFF00

yellow

#FFFF00 is a yellow colour. In RGB it is 255 red, 255 green and 0 blue, which converts to a hue of 60 degrees, 100% saturation and 50% lightness. It is one of the named CSS colours, written as yellow in stylesheets.

Color values

HEX#FFFF00
RGBrgb(255, 255, 0)
HSLhsl(60, 100%, 50%)
HSVhsv(60, 100%, 100%)
CMYKcmyk(0%, 0%, 100%, 0%)

Contrast and accessibility

Against white the contrast ratio is 1.07:1, and against black it is 19.56:1. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text.

BackgroundRatioNormal textLarge text
White1.07:1FailFail
Black19.56:1AAAAAA

Tints and shades

Lighter tints move #FFFF00 toward white, and darker shades move it toward black.

Tints

Shades

Color harmonies

Complementary

Analogous

Triadic

Split complementary

Code

CSScolor: #FFFF00;
CSS rgb()color: rgb(255 255 0);
Tailwindbg-[#ffff00]
SwiftUIColor(red: 1.000, green: 1.000, blue: 0.000)
AndroidColor.parseColor("#FFFF00")

Related tools