Yellow Color Code
Yellow·#FFFF00
Yellow is a mid-tone, high-saturation CSS named color at #FFFF00. If you searched for yellow hex code, FFFF00, or yellow RGB, this page gives the exact color value, conversion formats, contrast checks, nearby colors, and links into the lookup and converter workflows.
Tonal Scale
Contrast Checks
White text on this color
Buttons, badges, and filled actions.
Dark text on this color
Large headings and selective UI.
This color on light surface
Links, borders, and icons on light UI.
Professional Reference
- Yellow is kept as an exact CSS named color for #FFFF00.
- Queries for yellow color code, FFFF00, or yellow RGB usually need the value first, then contrast and implementation context.
Accessibility Matrix
White text on this color
White text placed on the current color.
Dark text on this color
Dark text or headings on the current color.
This color on light surface
Use this color for links, strokes, or icons on light UI.
This color on dark surface
Use this color inside dark shells for strokes, tags, or icons.
Where It Works
- Use it for highlights, caution-adjacent labels, warm backgrounds, and attention markers.
- Most yellows need dark text for readable interface copy.
- Pair with charcoal, deep olive, warm neutrals, and controlled orange accents.
Reference Notes
Yellow is sourced from the published CSS Standard Colors library and retained here as a searchable reference swatch for product and interface reference work.
Bright ambers and yellows that carry warmth.
Related Colors
Palette Starting Points
Implementation Snippets
:root {
--color-yellow: #FFFF00;
--color-yellow-rgb: 255 255 0;
}class="bg-[#FFFF00] text-white"
class="hover:bg-[#B8B800] ring-1 ring-[#FFFF00]"{
"yellow": "#FFFF00",
"yellowRgb": [255, 255, 0],
"yellowHsl": [60, 100, 50]
}