The yellow color code is #FFFF00 in hexadecimal. Click any value below to copy it. Use HEX/RGB for web and digital design, CMYK for print, and HSL when adjusting lightness or saturation in code.
| Format | Value |
|---|---|
| HEX | #FFFF00 |
| RGB | rgb(255, 255, 0) |
| CMYK | cmyk(0%, 0%, 100%, 0%) |
| HSL | hsl(60, 100%, 50%) |
How to Use Yellow in CSS
background-color: #ffff00; | color: rgb(255, 255, 0); | border-color: hsl(60, 100%, 50%);
Nearest Shades
FAQs
What is the hex code for yellow?
The hex code for yellow is #FFFF00. In RGB it is rgb(255, 255, 0), and in CMYK it is 0%, 0%, 100%, 0%. You can copy these codes from the color code section above.
What does the color yellow mean?
Yellow is associated with happiness, optimism, attention and caution. Its exact meaning shifts with culture and context — see the meaning and cultural sections on this page for details.
What colors go with yellow?
Yellow pairs beautifully with black, white, gold, gray and its complementary color. Explore the yellow color combinations and palettes on this page for ready-to-use schemes.
Where can I download yellow backgrounds?
Right here — this site offers 32 free yellow backgrounds in HD (1920×1080) across 8 styles: solid, gradient, glow, waves, bokeh, rays, texture and curves. All are free for personal and commercial use.