The brightest color on the color wheel and the first one the eye notices. It's linked to the sun, summer and caution. That's why it shows up on taxis, traffic signs and brands that want to look upbeat.
The hex code for yellow is #FFFF00. In RGB it is rgb(255, 255, 0), in HSL hsl(60, 100%, 50%) and in CMYK 0, 0, 100, 0.
Pick a color to pair it with and see how it looks on clothes, interiors and design.
Yellow (#FFFF00) is a warm, mid-tone, highly saturated color. It belongs to the yellows family. It mixes 255 red, 255 green and 0 blue (out of 255). It is mostly used in signage, logos, kids, web.

From lightest to darkest. Tap a shade to copy its code.
See all its shades: Color shades generator

Combinations based on the color wheel. More in the color harmony tool.
Copy the codes or open a palette in the editor to tweak it.
Based on WCAG 2.1 guidelines. Test other pairs in the contrast checker.
:root {
--yellow: #FFFF00;
--yellow-rgb: 255, 255, 0;
}
.bg { background-color: var(--yellow); }
.text { color: var(--yellow); }
The hex code for yellow is #FFFF00. In RGB it is rgb(255, 255, 0), in HSL hsl(60, 100%, 50%) and in CMYK 0, 0, 100, 0.
Its complement on the color wheel is #0000FF, close to blue. Used in small doses, it works as an accent and adds strong contrast.
Use black text instead: the contrast with white is only 1.1:1, while with black it is 19.6:1.
It pairs well with gray, navy blue, white, black, purple. Avoid pairing it with intense orange and red at the same time, because the look gets loud. As text on pure white, yellow is very hard to read.
We use Google Analytics cookies to understand how the site is used. Is that OK? Learn more