# Orange Color Code: #FFA500 Hex, RGB & Palettes

The CSS orange reference is #FFA500, rgb(255, 165, 0), or hsl(38.82, 100%, 50%). Brand shades may differ. HEX and RGB encode the same sRGB reference; HSL is rounded to two decimals. These are screen values, not a CMYK print specification.

## Tints and shades

Illustrative mixes with white or black in encoded sRGB channels, not a perceptually uniform scale.

| Shade | HEX | RGB | HSL | Black text contrast | White text contrast |
| --- | --- | --- | --- | --- | --- |
| Tint 80% | #FFEDCC | rgb(255, 237, 204) | hsl(38.82, 100%, 90%) | 18.24:1 | 1.15:1 |
| Tint 40% | #FFC966 | rgb(255, 201, 102) | hsl(38.82, 100%, 70%) | 13.80:1 | 1.52:1 |
| Reference | #FFA500 | rgb(255, 165, 0) | hsl(38.82, 100%, 50%) | 10.63:1 | 1.97:1 |
| Shade 25% | #BF7C00 | rgb(191, 124, 0) | hsl(38.95, 100%, 37.45%) | 6.10:1 | 3.44:1 |
| Shade 50% | #805300 | rgb(128, 83, 0) | hsl(38.91, 100%, 25.1%) | 3.16:1 | 6.66:1 |

## Text contrast

AA ordinary text requires at least 4.5:1; large text requires at least 3:1. Large text is at least 18pt, or 14pt bold. Use unrounded ratios for decisions. Color pairs alone cannot certify accessibility; review criteria, states, context, and exceptions.

Pure CSS orange is bright. Do not assume a white label is readable just because the button looks saturated; compare the actual pair.

## How to use orange in product design

Orange can distinguish a pending task or an action that needs attention. In a product with an orange brand, separate promotional accents from operational warnings through labels, icons, and placement.

### A UI example to try

A billing warning can use a pale orange background with a dark heading and a specific next action. Keep the primary payment action distinct from decorative orange illustrations.

### Work through a real screen

Build a pending-approval banner beside the normal primary action. If orange is also the brand accent, use a specific status label and supporting explanation so the banner does not look like another promotional CTA. Review the banner in a dense dashboard, where large saturated areas can compete with the task.

### Compare nearby colors by purpose

Compare orange with coral for brand expression and with yellow for attention states. Do not treat those alternatives as interchangeable status labels. Choose the meaning first, then verify the text and surface pair in the supported themes.

1. Choose a foreground, surface, accent, or status role and name a semantic token after its purpose.
2. Test the actual pair, text size, interaction states, and themes.
3. Document the approved value and companion colors. Keep labels and non-color cues for states.

## CSS palette

Illustrative numeric tokens; connect tested pairs to semantic roles.

```css
:root {
  --orange-100: #FFEDCC;
  --orange-300: #FFC966;
  --orange-500: #FFA500;
  --orange-700: #BF7C00;
  --orange-900: #805300;
}
```

## What is the HEX code for orange?

The CSS named color orange is #FFA500. Use a documented brand token when you mean another shade.

## Is orange accessible?

A color alone cannot pass or fail accessibility. Evaluate the pair, content size, interaction state, and meaning in the complete interface.

## Related colors

- [coral color codes](https://designproject.io/resources/colors/coral/)

- [yellow color codes](https://designproject.io/resources/colors/yellow/)

- [brown color codes](https://designproject.io/resources/colors/brown/)

## Sources and next steps

By The Design Project. UI examples and generated scales are illustrative.

- [MDN CSS named colors](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values/named-color)
- [W3C contrast guidance](https://www.w3.org/WAI/WCAG22/Understanding/contrast-minimum.html)
- [UI color palette guide](https://designproject.io/resources/guides/create-ui-color-palette/)
- [Semantic color tokens](https://designproject.io/resources/guides/create-semantic-color-tokens/)
- [Color contrast checker](https://designproject.io/resources/guides/check-color-contrast/)
- [Design glossary](https://designproject.io/resources/glossary/)

Canonical: https://designproject.io/resources/colors/orange/

## Keep learning

- [How to create a UI color palette, step by step](https://designproject.io/resources/guides/create-ui-color-palette/)
- [Product design glossary: 44 terms explained](https://designproject.io/resources/glossary/)
- [How to create semantic color tokens for UI](https://designproject.io/resources/guides/create-semantic-color-tokens/)
