⤺ color picker

#ffff00 Color Hex (yellow) #ff0

Hex color #ffff00, RGB(255, 255, 0) - also known as yellow - code, conversions, schemes and color harmonies, as well as examples of use in HTML and CSS.

The hex color code #ffff00 is a shade of yellow. In a RGB color space it is composed of 100% red, 100% green and 0% blue. In HSL notation it has 60° hue, 100% saturation and 50% lightness. The process color (CMYK) is combination of 0% cyan, 0% magenta, 100% yellow and 0% key (black). The closest short hexadecimal code of #ffff00 is #ff0.

Color information

  • #ffff00 is a shade of yellow.
  • CMYK color proportions:
    • Cyan: 0%
    • Magenta: 0%
    • Yellow: 100%
    • Key color - black: 0%
  • In the RAL color palette it appears under the number RAL 1026. The color name is Luminous yellow.
  • In the HSL model coordinates are:
    • Hue: 60° degrees
    • Saturation: 100%
    • Lightness: 50%
  • The values in the RGB color space are:
    • Red: 255 (100%)
    • Green: 255 (100%)
    • Blue: 0 (0%)


C: 0%, M: 0%, Y: 100%, K: 0%
R: 255, G: 255, B: 0
H: 60°, S: 100%, L: 50%

Color harmonies

#ffff00 color HTML and CSS codes

Example CSS code:

.setFontColor { color: #ffff00; }
.setBackgroundColor { background-color: #ffff00; }

#ffff00 text/font color

How to set font color?

<p style="color:#ffff00">Font color is #ffff00.</p>

Font color is #ffff00.

Red was ruby, green was fluorescent, yellow was simply incandescent. Color was life. Color was everything. Color, you see, was the universal sign of magic.
- Tahereh Mafi, Furthermore

#ffff00 background color

How to set background color?

<div style="background-color:#ffff00">Background color is #ffff00.</div>

Background color is #ffff00.

When you photograph people in color, you photograph their clothes. But when you photograph people in Black and white, you photograph their souls!
- Ted Grant