Yellow colour (#FFFF00)
Yellow is medium a yellow with hex code #FFFF00, one of the 148 named colours every browser understands, so you can write color: ${name} directly in CSS. In RGB it is 255, 255, 0; in HSL 60°, 100%, 50%. Use the tool to explore shades and harmonies.
How to use the Yellow colour
- The colour is pre-filled; click Explore to see all formats, shades and harmonies.
- Edit the value to try a variation.
- Copy the code you need.
Yellow in every format
| Format | Value |
|---|---|
| HEX | #FFFF00 |
| RGB | rgb(255, 255, 0) |
| RGB (0–1) | 1.000, 1.000, 0.000 |
| HSL | hsl(60, 100%, 50%) |
| CMYK (approx.) | 0%, 0%, 100%, 0% |
| CSS | color: yellow; |
Shades and tints of Yellow
Same hue and saturation, lightness from 90% to 10%:
#ffffcc | #ffff99 | #ffff66 | #ffff33 | #ffff00 | #cccc00 | #999900 | #666600 | #333300 |
Colours that go with Yellow
| Harmony | Colours | |
|---|---|---|
| Complementary | #0000ff | |
| Triadic | #00ffff | #ff00ff |
| Analogous | #80ff00 | #ff8000 |
Similar named colours
The closest CSS named colours by RGB distance, useful when you need a keyword instead of a hex code or want a near match:
| Colour | HEX | Difference |
|---|---|---|
| gold | #ffd700 | close |
| orange | #ffa500 | noticeably different |
| greenyellow | #adff2f | noticeably different |
| goldenrod | #daa520 | noticeably different |
| darkorange | #ff8c00 | noticeably different |
Accessibility
Contrast ratio of Yellow against white is 1.07:1 (fails WCAG AA for normal text) and against black 19.56:1 (passes). Use black or very dark text on a Yellow background rather than white.
Frequently asked questions
What is the hex code for Yellow?
#FFFF00.
What is Yellow in RGB?
rgb(255, 255, 0).
What colour is complementary to Yellow?
#0000ff, directly opposite on the colour wheel.
Privacy
This tool runs entirely inside your browser using WebAssembly and the Canvas/File APIs. Your files are never uploaded to ToolFlint or any third party; you can verify this in your browser's network tab or by switching to airplane mode after the page loads. Read how we process files.
Last updated 2026-09-23.