designwithfocus

Yellow Color Code

HEX, RGB, CMYK, shades, palettes and contrast.

Free No sign-up Runs in your browser

yellow

HEX#FFFF00
RGBrgb(255, 255, 0)
RGBArgba(255, 255, 0, 1)
HSLhsl(60, 100%, 50%)
HSLAhsla(60, 100%, 50%, 1)
HSVhsv(60, 100%, 100%)
CMYKcmyk(0%, 0%, 100%, 0%)
LABlab(97.1% -21.6 94.5)
LCHlch(97.1% 96.9 102.9)
OKLCHoklch(96.8% 0.2 109.8)
OKLABoklab(1 -0.1 0.2)
HWBhwb(60 0% 0%)
XYZxyz(77, 92.8, 13.9)
Decimal16776960
Tailwindyellow-400
Nameyellow

Shades

#D5D500
#AAAA00
#808000
#555500
#2A2A00

Tints

#FFFF2B
#FFFF55
#FFFF80
#FFFFAA
#FFFFD5

Harmonies

complementary
#FFFF00
#0000FF
#0000B3
#4D4DFF
#FFFF4D
analogous
#FF0000
#FF8000
#FFFF00
#80FF00
#00FF00
triadic
#FFFF00
#00FFFF
#FF00FF
#4DFFFF
#B300B2

Contrast

vs White1.07:1 — Fail
vs Black19.56:1 — AAA

Colour-blind preview (simulation)

#FFFF3E

How to use Yellow Color Code

  1. Look at the Yellow swatch and copy the HEX, RGB or HSL value you need.
  2. Use the shades and tints below for darker and lighter versions.
  3. Check the contrast values before using it for text.

Yellow colour values

Yellow is #FFFF00 in HEX. Its RGB values are 255, 255 and 0.

In HSL it is 60 degrees hue, 100% saturation and 50% lightness. In CMYK it is 0%, 0%, 100%, 0%.

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

Yellow shades and tints

Darker shades of Yellow run from #D4D400 to #2A2A00. Lighter tints run from #FFFF2A to #FFFFD4.

Use a darker shade for headings and a lighter tint for backgrounds.

ShadeHEX
Shade 1#D4D400
Shade 2#AAAA00
Shade 3#808000
Shade 4#555500
Shade 5#2A2A00

FAQ

What is the HEX code for Yellow?

The HEX code for Yellow is #FFFF00.

What is Yellow in RGB?

Yellow is rgb(255, 255, 0).

Can I use this colour in CSS?

Yes. Copy the HEX or RGB value and paste it into any CSS colour property.

Is this colour free to use?

Yes. Colour values are facts, not owned designs, so you can use them anywhere.

Report a problem with this tool