Huebook

Yellow

Yellow is a near-white, saturated yellow color with the hex code #FFFF00 (hue 60°, saturation 100%, lightness 50%). It is also the CSS named color yellow.

#FFFF00
NameHEXRGBHSLCMYKOKLCH
Yellow#FFFF00255, 255, 060°, 100%, 50%0, 0, 100, 096.8% 0.211 110

Contrast with white text 1.07:1, with black text 19.56:1 — use black text on Yellow.

yellow is one of the 148 named colors in CSS, with exactly this value, so color: yellow works in any browser without a hex code.

Huebook · Maintained by Iris Marlow (pen name) · automated checks · Data: color-name-list (MIT) for names; CSS Color Module Level 4 (W3C) for CSS named colors · Updated · How the checks work

Adjust Yellow

Move the sliders to make Yellow lighter, darker, more or less vivid, or shift its hue. The nearest named colors update as you go.

Yellow
  • HEX#FFFF00
  • RGBrgb(255 255 0)
  • HSLhsl(60 100% 50%)

Variations of Yellow

Text on Yellow

White textThe quick brown fox1.07:1 · AA fail · AAA fail
Black textThe quick brown fox19.56:1 · AA pass · AAA pass

WCAG 2 asks for 4.5:1 for body text and 3:1 for large text (AA), and 7:1 and 4.5:1 for the stricter AAA level.

Yellow with color blindness

Normal #FFFF00
Protanopia #FFF400
Deuteranopia #FFFA31
Tritanopia #FFEED9

How Yellow appears with a complete loss of red (protanopia), green (deuteranopia) or blue (tritanopia) cones, simulated with the Machado, Oliveira and Fernandes (2009) model. Red-green color blindness affects about 1 in 12 men and 1 in 200 women, so do not rely on color alone to carry meaning.

Tints and shades

#FFFFCC
#FFFF80
#FFFF33
#E5E600
#999900
#4C4D00

Colors that go with Yellow

Six color schemes built on Yellow with classic harmony rules. The complementary scheme pairs it with Blue (#0000FF), the color opposite it on the color wheel.

Nearest CSS named colors

Gradients with Yellow

Similar medium yellow colors

Questions

What is the hex code for Yellow?

#FFFF00 — RGB 255, 255, 0, HSL 60°, 100%, 50%.

Is Yellow a warm or cool color?

Warm — its hue sits at 60° on the color wheel.