Orange color #FFA500
rgb(255, 165, 0) · oklch(79.3% 0.171 70.7)
Orange (#FFA500) is a light, vivid, warm orange. It mixes 100% red, 65% green and 0% blue, with a perceived lightness of 79.3% in OKLCH. Black text reads best on it (10.63:1 vs 1.97:1). The closest other CSS color is Sandy Brown (#F4A460). For people with tritanopia it shifts the most, toward #FF8E8D.
Orange color codes
| HEX | |
|---|---|
| RGB | |
| HSL | |
| HSV / HSB | |
| OKLCH | |
| CMYK | |
| CSS keyword |
Click a value to copy it. Convert any other color with the color converter.
Shades, tints and tones of orange
Shades mix orange with black, tints mix it with white, and tones mix it with gray. Mixing happens in OKLab, so the steps look evenly spaced.
Tints (lighter)
Shades (darker)
Tones (muted)
Orange as a UI color scale (50–950)
An 11-step scale for design systems, with orange placed at step 300. Copy it as a Tailwind v4 theme below.
Colors that go with orange
Harmonies are computed on the OKLCH hue wheel, keeping orange’s lightness and saturation where the sRGB gamut allows. Open any row in the palette generator to adjust it.
Complementary
EditThe base color and the hue directly opposite it. Maximum contrast; use one as the accent.
Split complementary
EditThe base plus the two hues beside its complement (±30°). Contrast with less tension than complementary.
Tetradic (rectangle)
EditTwo complementary pairs (rectangle: 0°, 60°, 180°, 240°). Rich; needs one dominant color.
Is orange accessible? Contrast with white and black
1.97:1
AA fail AA large fail AAA fail
10.63:1
AA pass AA large pass AAA pass
- As a background, orange works best with black text.
- For body text on white, use the darker variant (the closest color that passes AA, 4.5:1).
How orange looks with color blindness
Simulated with the Machado et al. (2009) model. Around 1 in 12 men and 1 in 200 women have some form of color vision deficiency.
#c3ac00 Red-blind. Reds look dark and brownish; red and green are easily confused.
#d9c10e Green-blind, the most common strong form. Red, green, orange and brown look similar.
#ff8e8d Blue-blind and rare. Blue and green are confused, as are yellow and pink.
#b8b8b8 Total color blindness, very rare. Only lightness differences are visible.
Colors similar to orange
The closest CSS named colors by perceptual distance (ΔE OK; under 2 is hard to tell apart).
Use orange in CSS and Tailwind
CSS custom properties
:root {
--orange: #ffa500;
--orange-rgb: 255 165 0;
}
.text-orange { color: var(--orange); }
.bg-orange { background-color: var(--orange); }
Tailwind v4 theme
@theme {
--color-orange-50: #f8f6f5;
--color-orange-100: #f1ece6;
--color-orange-200: #ebd7c0;
--color-orange-300: #ffa500;
--color-orange-400: #d7912d;
--color-orange-500: #b87600;
--color-orange-600: #986100;
--color-orange-700: #784e11;
--color-orange-800: #5c3e18;
--color-orange-900: #453118;
--color-orange-950: #281d10;
}
Make a gradient from orange: open the gradient generator.
Painting in Procreate or designing in Photoshop? See our palette packs: every color with HEX codes is free to browse, and the swatch files are a quick download.