CSS Named Color Reference

Orange Color Code

Orange·#FFA500

Orange FamilyWarmMid toneHigh saturationoklch(79.3% 0.171 71)
HEX
#FFA500Primary token
RGB
rgb(255, 165, 0)Screen values
HSL
hsl(39 100% 50%)Hue and lightness
CMYK
0, 35, 100, 0Print handoff
LAB
75, 24, 79Perceptual reference
OKLCH
oklch(79.3% 0.171 71)Modern perceptual

Orange is a mid-tone, high-saturation CSS named color at #FFA500. If you searched for orange hex code, FFA500, or orange RGB, this page gives the exact color value, conversion formats, contrast checks, nearby colors, and links into the lookup and converter workflows.

Best text colorDark text
Body text contrast8.68:1
Best UseWarm CTAs, campaign accents, warnings, and energetic product moments

Tonal Scale

100#FFEFD1
300#FFD68A
500#FFB52E
600#FFA500
800#B87700

Contrast Checks

White text on this color

Buttons, badges, and filled actions.

1.97:1Needs more separation

Dark text on this color

Large headings and selective UI.

8.68:1AAA-level contrast

This color on light surface

Links, borders, and icons on light UI.

1.88:1Needs more separation
Best text colorDark textContrast 8.68:1

Professional Reference

OKLCHoklch(79.3% 0.171 71)
Relative Luminance0.4817
Source TypeCSS Named Color
Classification
Orange FamilyWarmMid toneHigh saturation
Source Context
Source Type
CSS Named Color
System
CSS
Closest Matches
Material Amber 700Material Amber A700Tailwind Amber 500
Color Notes
  • Orange is kept as an exact CSS named color for #FFA500.
  • Queries for orange color code, FFA500, or orange 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.

1.97:1Needs more separation

Dark text on this color

Dark text or headings on the current color.

8.68:1AAA

This color on light surface

Use this color for links, strokes, or icons on light UI.

1.88:1Needs more separation

This color on dark surface

Use this color inside dark shells for strokes, tags, or icons.

8.68:1AAA
Best text colorDark textContrast 8.68:1 · AAA

Where It Works

  • Use it for warm CTAs, promotional accents, alert-adjacent moments, and seasonal UI.
  • Strong oranges can overpower dense interfaces, so reserve them for focused actions.
  • Pair with dark text, warm neutrals, deep browns, and restrained blues.

Reference Notes

Last Updated
2026-09-03
Source Library
CSS Standard Colors
Methodology
Verified source values + site guidance
Color Notes

Orange is sourced from the published CSS Standard Colors library and retained here as a searchable reference swatch for product and interface reference work.

Hue Family

Friendly oranges for campaigns and seasonal palettes.

Source Collections
CSS Named Colors

Related Colors

Palette Starting Points

Implementation Snippets

CSS Variables
:root {
  --color-orange: #FFA500;
  --color-orange-rgb: 255 165 0;
}
Utility Class
class="bg-[#FFA500] text-white"
class="hover:bg-[#B87700] ring-1 ring-[#FFA500]"
JSON Token
{
  "orange": "#FFA500",
  "orangeRgb": [255, 165, 0],
  "orangeHsl": [39, 100, 50]
}