Excel Yellow Color Code: RGB, Hex, and Theme Values

How-to basics · Updated November 19, 2026

Excel’s standard pure-yellow fill is RGB 255, 255, 0, written in hexadecimal as #FFFF00. Choose the yellow square under the Fill Color menu for that standard shade; if you need to match a particular workbook, check whether its yellow is a theme or custom color, because Excel can display many different yellows.

The standard Excel yellow code

For the vivid yellow commonly meant by “Excel yellow,” use these equivalent values:

  • RGB: 255, 255, 0
  • Hex: #FFFF00
  • Red, green, blue channels: red 255, green 255, blue 0

RGB describes how much red, green, and blue light make up a color, with each channel ranging from 0 to 255. The maximum red and green values combined with no blue produce pure yellow. In hexadecimal notation, each channel is represented by two digits: FF for red, FF for green, and 00 for blue, giving #FFFF00. The leading hash is customary when writing a web-style hex color; Excel’s color picker generally asks for the RGB numbers instead.

In Excel for Microsoft 365 on Windows, the standard yellow is available from the Fill Color menu on the Home tab. Click the arrow beside the paint-bucket icon and select the yellow square in the palette. This applies a cell background fill, not yellow text. To color text, use the separate Font Color menu.

Why there is not just one Excel yellow

“Yellow” is a color name, not a unique color specification. A pale yellow used for an input cell, a gold used in a chart, and pure yellow can all look yellow while having different RGB values. In addition, Excel offers theme colors, standard palette colors, custom colors, and colors supplied by conditional formatting. A workbook may therefore contain several distinct yellows.

The standard palette’s bright yellow is the easy starting point, but a workbook designer may select a softer shade such as RGB 255, 255, 153, or a deeper golden shade such as RGB 255, 192, 0. Those are examples, not universal Excel definitions of light yellow or gold. Names shown in a palette can also depend on the theme and the version or platform. When exact matching matters, use numeric color values rather than relying only on a color name or visual impression.

There is another important distinction: a cell’s visible color may not be its ordinary fill. Conditional formatting can apply a fill when a rule is true, and a table style can change the appearance of a cell based on its position. The color shown on screen is not always the manually selected fill stored on the cell.

Choose a yellow for the job

Pure yellow is highly noticeable, which makes it useful for warnings, temporary highlights, or drawing attention to a small number of important cells. It can be harsh when used across a large worksheet, especially beside black text. A pale yellow is often easier to read for input areas, notes, or rows that need a gentle highlight. Gold or amber can work for emphasis that should feel less fluorescent.

Before choosing a shade, consider how the workbook will be read and shared. Check the fill with the actual text color, font size, and grid of surrounding cells. Also consider printing and accessibility: a color-only signal may be missed by someone with color-vision differences, may be difficult to distinguish in a grayscale printout, and may not survive every display or printing condition.

  • For a quick alert: use a noticeable fill, but pair it with a label such as Review or an icon where appropriate.
  • For data entry: use a light tint that leaves the text easy to read and apply it consistently to all input cells.
  • For charts or reports: choose a shade that fits the workbook theme and remains distinct from other series or categories.
  • For a precise match: record the RGB values so another person can reproduce the color.

Apply an exact yellow fill in Excel

To apply the standard palette yellow in Excel for Microsoft 365 on Windows, select the cell or range, then choose Home > Fill Color arrow > the yellow square. Clicking the paint-bucket icon itself applies the currently selected fill; use its arrow when you want to choose a different color. If you accidentally change the text instead of the background, use the Fill Color control rather than Font Color.

For a specific custom shade, open the Fill Color arrow and choose More Colors. In the Windows color dialog, use the Custom tab and enter the red, green, and blue components. For pure yellow, enter 255 for red, 255 for green, and 0 for blue, then confirm. The selected cell or range receives that fill. To change the color of text instead, open the Font Color arrow and use its color dialog.

Excel for Mac has a similar Fill Color menu, but the color-entry interface can differ from the Windows dialog. In current Microsoft 365 versions, More Colors opens the macOS color picker; select its RGB controls and enter the channel values when available. Excel for the web also offers fill colors, though its palette and custom-color controls can differ from the desktop app. If you need an exact custom color and cannot enter RGB values in the web interface, open the workbook in the desktop version.

To remove a fill, select the cells and choose Home > Fill Color arrow > No Fill. This is different from choosing white: white is an actual fill color, while No Fill removes the cell’s fill so the sheet background shows through. That distinction matters when cells are placed over colored areas or when another style is involved.

Theme colors and matching a workbook

Theme colors help a workbook keep a consistent appearance. A theme includes a set of colors that Excel uses in palettes, charts, shapes, and other formatted objects. A theme color is not necessarily the same as the standard pure-yellow swatch. It can also have lighter or darker variations. If a workbook’s yellow is part of its theme, choosing a nearby standard yellow may look similar but will not necessarily match the theme relationship.

When matching an existing workbook, first check whether the intended cell uses a theme color, a standard color, or a custom color. Select a cell with the desired appearance and inspect the Fill Color menu: Excel indicates the current color in its palette, and theme colors appear in the theme section. Custom RGB entry is useful when you have the exact values, but entering an RGB shade does not make it a theme color. If the workbook’s theme is changed later, a fixed custom color may not change along with theme-based elements.

If you are matching a brand guide or a color supplied by a designer, ask for the RGB or hex specification rather than a general description such as “warm yellow.” Hex is common in web design, while the Excel custom-color dialog usually works with RGB. Convert a hex color by reading its six digits in pairs: the first pair is red, the second green, and the third blue. For example, #FFD966 corresponds to RGB 255, 217, 102, a softer yellow than #FFFF00.

Find out why a cell looks yellow

If a cell appears yellow but choosing another fill does not seem to solve the problem, identify what is controlling its appearance. A conditional-formatting rule may be applying the color whenever a value meets a condition. Select the cell and go to Home > Conditional Formatting > Manage Rules to review rules that apply to the selection or worksheet. Edit or remove the relevant rule only if that is what you intend; changing the regular fill may not override a conditional format that remains active.

Tables can also use banded rows or a table style, and copied formatting can bring colors from another range. To check the basic cell formatting, open the Format Cells dialog with Ctrl+1 on Windows and review its Fill tab. On Mac, Command+1 opens Format Cells. Conditional formatting and table styles are separate sources of appearance, so the Fill tab alone may not explain everything visible on the screen.

For a workbook you did not create, it is often better to investigate before clearing formatting. A yellow cell might mark a required input, a formula warning, or a category in a report. Look for a legend, nearby labels, or conditional-formatting rules. If the workbook is shared, ask its owner before changing a color that could carry meaning.

Using yellow consistently and accessibly

Color works best as a visual aid rather than the only way to convey information. If yellow identifies overdue items, also include a status word, date, symbol, or other meaningful cue. This helps readers who cannot distinguish the colors, people printing in monochrome, and anyone viewing the file on a display that renders color differently. Keep the meaning stable throughout the workbook: if yellow means “input required” in one sheet, avoid using it to mean “complete” in another without a clear explanation.

Text contrast matters too. Pure yellow is light, so white text on it can be difficult to read. Dark text is usually more legible, but check the actual combination and font size rather than assuming every yellow shade will work. For large ranges, subtle fills and borders can organize information without overwhelming the numbers. For a report that will be printed, preview the page and check that essential distinctions remain understandable without color.

Frequently Asked Questions

What is the hex code for yellow in Excel?
The standard pure-yellow hex code is #FFFF00. Its RGB value is 255, 255, 0. Other shades labeled or described as yellow have different codes.

What RGB value is Excel’s bright yellow?
Use RGB 255, 255, 0 for pure, bright yellow. Enter those three numbers in the custom color controls when you need an exact match rather than selecting a similar-looking shade.

How do I make a cell yellow in Excel?
Select the cell, then choose Home > Fill Color arrow and select the yellow swatch. For a custom shade, choose More Colors and enter its RGB values.

Why does my Excel cell stay yellow after I change its fill?
A conditional-formatting rule, table style, or other formatting source may be determining its appearance. Check Home > Conditional Formatting > Manage Rules and inspect any table style before changing or removing formatting.

Is Excel yellow the same as gold or light yellow?
No. Pure yellow, pale yellow, and gold are visually different colors and use different RGB values. #FFFF00 is the standard pure-yellow value; choose a specific RGB or hex code when a softer shade is required.

Related

Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.

More in How-to basics

Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources

Spotted an error in this guide? Let us know.