TintShelf
Interface

Yellow Color Code: Hex #FFFF00

The hex code for Yellow is #FFFF00 (the CSS keyword yellow). Yellow RGB code: rgb(255, 255, 0). The xkcd color survey gives #FFFF14 instead, which looks almost the same; both codes are below with their source.

CSS Color 4, meodai color-name-list#FFFF00Top: the code browsers use
xkcd color survey#FFFF14Below: compare edge to edge

Yellow color codes: each Yellow hex code in every format

HEX#FFFF00
RGBrgb(255, 255, 0)
HSLhsl(60, 100%, 50%)
OKLCHoklch(96.8% 0.211 109.8)
LABlab(97.6 -15.8 93.4)
CMYKcmyk(0%, 0%, 100%, 0%)

Sources

CSS Color 4web standard keyword
xkcd color survey2010 naming survey
meodai color-name-listopen community list

Properties

Hex codes
2 different ones in 3 color lists; they look the same
Family
yellow
Contrast
1.07:1 with white, 19.56:1 with black
CSS keyword
yellow
Character
very light, vivid
Readable text on it
black (AA)

A very light, vivid yellow with a warm cast. In code, yellow gives exactly this web value. If you mean the color as people usually picture the name, the survey value #FFFF14 is closer: it is about as light and about as saturated.

Black text reads best on it; white text does not pass WCAG AA. Its exact opposite on the color wheel cannot be shown on screens, so the complementary palette uses the closest displayable version. Even pale tints keep its hue, which makes it easy to use for soft backgrounds. Next to Pastel Yellow, its closest named neighbour, it looks about as light, more vivid and warmer; beside Gold it looks lighter, more vivid and cooler. It is one of the 16 original HTML 4 color names. All three channels are multiples of 51, so it is in the old 216-color web-safe palette.

Colors that go with Yellow

Complementary: the opposite of Yellow

Open in generator

  • #FFFF00Black text 19.56:1
  • #F4F3FFBlack text 19.11:1
  • #FEFFA3Black text 20.05:1
  • #97969EBlack text 7.17:1

Analogous

Open in generator

  • #FFF3DFBlack text 19.14:1
  • #FFFF00Black text 19.56:1
  • #E0FFD9Black text 19.48:1
  • #FEFFBEBlack text 20.26:1

Triadic

Open in generator

  • #FFFF00Black text 19.56:1
  • #E8F7FFBlack text 19.18:1
  • #FFF0F6Black text 19.05:1
  • #FEFFD7Black text 20.50:1

Monochrome

Open in generator

  • #484800White text 9.53:1
  • #9E9E00Black text 7.34:1
  • #FFFF00Black text 19.56:1
  • #FEFF83Black text 19.85:1
  • #FEFFBEBlack text 20.26:1

With neutrals

Open in generator

  • #FFFF00Black text 19.56:1
  • #FEFFD7Black text 20.50:1
  • #222200White text 16.19:1
  • #A4A577Black text 8.23:1

How tints, shades and harmonies are calculated

Preview

Heading on Yellow

Body text on this color, 19.56:1.

Button

Heading in Yellow

Text in this color on white, 1.07:1.

Button

Tints and shades

  1. #FEFFD7
  2. #FEFFBE
  3. #FEFFA3
  4. #FEFF83
  5. #FEFF5C
  6. #FFFF00
  7. #CECE00
  8. #9E9E00
  9. #717100
  10. #484800
  11. #222200

WhiteYellowBlack

Similar named colors

Lists and sources

Screens show the same code differently, and print adds more variation. CMYK here is the plain formula without a printer profile, so use it as a starting point, not a press value. Contrast numbers follow WCAG 2.x.