Yellow Color

Yellow is a very light yellow with hex code #FFFF00. Here are its RGB, HSL, CMYK and OKLCH values, tints and shades, matching colours and CSS.

#FFFF00RGB 255 255 0
Yellow#FFFF00

Yellow color codes

HEX#FFFF00
RGBrgb(255, 255, 0)
HSLhsl(60, 100%, 50%)
HSV60°, 100%, 100%
CMYK0%, 0%, 100%, 0%
OKLCHoklch(96.8% 0.211 109.8)
Tailwindbg-[#ffff00]

Closest Tailwind colour: yellow-300 (#FDE047). Convert any colour in the Color Converter.

About Yellow

Yellow (#FFFF00) is a very light yellow. In the RGB model it is 100% red, 100% green and 0% blue; its hue angle is 60°, with 100% saturation and 50% lightness. For print, the CMYK equivalent is 0% cyan, 0% magenta, 100% yellow and 0% black.

It is a warm colour and appears in our shades of yellow. Text on it reads best in black (19.6:1 contrast).

Yellow tints and shades

Tints mix yellow with white; shades mix it with black. Click to copy.

10%
20%
30%
40%
50%
60%
70%
80%
90%
Base
-10%
-20%
-30%
-40%
-50%
-60%
-70%
-80%
-90%

Colors that go with Yellow

Complementary

Yellow
near Blue

Analogous

Yellow

Triadic

Yellow
near Aqua

Split complementary

Yellow
near Azure

Yellow contrast

White text1.07:1
  • AA text fail
  • AAA text fail
  • AA large fail
Black text19.56:1
  • AA text pass
  • AAA text pass
  • AA large pass

Using Yellow in CSS

.brand {
  color: #ffff00;
}
.button {
  background: #ffff00;
  color: #111;
}
.hero {
  background: linear-gradient(135deg, #ffff59, #ffff00, #a6a600);
}

Similar colors

Gradients with Yellow

Exact matchSnapchat

Snapchat

Exact matchBeReal

BeReal

More gradients near #FFFF00 →

Yellow FAQ

What color is Yellow?

Yellow is a very light yellow. Its hex code is #FFFF00 and it is a warm colour.

What is the hex code for Yellow?

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

What is Yellow in CMYK?

Yellow is roughly C 0%, M 0%, Y 100%, K 0% in CMYK. Screen-to-print conversion depends on the printer profile, so check a proof for brand colours.

What colors go well with Yellow?

Its complementary colour is #0000FF. For a calmer palette use its analogous colours #FF8000 and #80FF00, or tints and shades of Yellow itself.

Is white or black text better on Yellow?

Black text reads better on Yellow: 19.6:1 contrast, against 1.1:1 for white. WCAG asks for 4.5:1 for body text.

Browse colors