Yellow (#FFFF00) has the RGB value rgb(255, 255, 0), the HSL value hsl(60, 100%, 50%) and the CMYK value cmyk(0%, 0%, 100%, 0%).
| HEX | #FFFF00 |
| RGB | rgb(255, 255, 0) |
| HSL | hsl(60, 100%, 50%) |
| CMYK | cmyk(0%, 0%, 100%, 0%) |
Complementary
Analogous
Triadic
Split-complementary
Tints mix Yellow with white; shades mix it with black.
| #FFFF00 on white | 1.07:1 · Fails |
| #FFFF00 on black | 19.56:1 · AAA |
Text in black is easier to read on a yellow background.
The hex code used here for yellow is #FFFF00. Other shades of yellow use different codes.
Yellow (#FFFF00) is rgb(255, 255, 0): red 255, green 255, blue 0.
Its complementary color is #0000FF. Analogous colors are #FF8000 and #80FF00, and a triadic scheme adds #00FFFF and #FF00FF.
The contrast ratio of #FFFF00 on white is 1.07:1 (Fails). On black it is 19.56:1 (AAA). WCAG AA needs 4.5:1 for normal text.
No. The CMYK numbers are a simple mathematical conversion from RGB. Printed colors depend on the printer, ink and paper, so check a proof for color-critical work.