Tailwind CSS v3.4 color family

Tailwind orange 11 shades, 50 to 950

Orange is one of the 22 color families in Tailwind CSS v3.4, with eleven shades from 50 to 950. Its 500 shade, #F97316, sits at OKLCH hue 47.6°. Lightness runs from 0.980 at 50 to 0.266 at 950.

500 shade
#F97316
OKLCH hue at 500
47.6°
Body text on white
700 to 950
Body text on black
50 to 600

Tailwind CSS 4.3.3

orange: current colors

11 shades with exact official OKLCH values. Use bg-orange-500, text-orange-500 or border-orange-500 in Tailwind. Wide-gamut colors are preserved; these are not the v3 hex values.

ColorExact OKLCHCSS variable
orange-50oklch(98% 0.016 73.684)--color-orange-50
orange-100oklch(95.4% 0.038 75.164)--color-orange-100
orange-200oklch(90.1% 0.076 70.697)--color-orange-200
orange-300oklch(83.7% 0.128 66.29)--color-orange-300
orange-400oklch(75% 0.183 55.934)--color-orange-400
orange-500oklch(70.5% 0.213 47.604)--color-orange-500
orange-600oklch(64.6% 0.222 41.116)--color-orange-600
orange-700oklch(55.3% 0.195 38.402)--color-orange-700
orange-800oklch(47% 0.157 37.304)--color-orange-800
orange-900oklch(40.8% 0.123 38.172)--color-orange-900
orange-950oklch(26.6% 0.079 36.259)--color-orange-950

Source: Tailwind CSS 4.3.3 theme.css (MIT). Values are pinned to this release. Older v3 reference values below are kept separately for existing projects.

Scale

Every shade, 50 to 950

Each shade has a page of its own. Under each, white and black text on it; a bold figure passes 4.5:1.

  1. 50#FFF7ED
    White
    1.06
    Black
    19.77
  2. 100#FFEDD5
    White
    1.14
    Black
    18.32
  3. 200#FED7AA
    White
    1.35
    Black
    15.51
  4. 300#FDBA74
    White
    1.68
    Black
    12.45
  5. 400#FB923C
    White
    2.26
    Black
    9.27
  6. 500#F97316
    White
    2.80
    Black
    7.49
  7. 600#EA580C
    White
    3.55
    Black
    5.89
  8. 700#C2410C
    White
    5.17
    Black
    4.05
  9. 800#9A3412
    White
    7.30
    Black
    2.87
  10. 900#7C2D12
    White
    9.37
    Black
    2.24
  11. 950#431407
    White
    15.65
    Black
    1.34

Values

Hex, RGB and OKLCH values

The Tailwind CSS v3.4 values, with the contrast of white and black text on each shade.

ShadeHEXRGBOKLCHWhite textBlack text
orange-50#FFF7EDrgb(255, 247, 237)oklch(0.980 0.016 73.7)1.0619.77
orange-100#FFEDD5rgb(255, 237, 213)oklch(0.954 0.037 75.2)1.1418.32
orange-200#FED7AArgb(254, 215, 170)oklch(0.901 0.073 70.7)1.3515.51
orange-300#FDBA74rgb(253, 186, 116)oklch(0.837 0.117 66.3)1.6812.45
orange-400#FB923Crgb(251, 146, 60)oklch(0.758 0.159 55.9)2.269.27
orange-500#F97316rgb(249, 115, 22)oklch(0.705 0.187 47.6)2.807.49
orange-600#EA580Crgb(234, 88, 12)oklch(0.646 0.194 41.1)3.555.89
orange-700#C2410Crgb(194, 65, 12)oklch(0.553 0.174 38.4)5.174.05
orange-800#9A3412rgb(154, 52, 18)oklch(0.470 0.143 37.3)7.302.87
orange-900#7C2D12rgb(124, 45, 18)oklch(0.408 0.116 38.2)9.372.24
orange-950#431407rgb(67, 20, 7)oklch(0.266 0.076 36.3)15.651.34

Legibility

Which shades pass on each other

Every shade as text on every other shade. 30 of 110 pairings pass 4.5:1 for body text, and 20 more pass 3:1 for large text.

Text shade, then background shade50100200300400500600700800900950
50same shade1.071.271.582.132.643.354.876.888.8214.74
1001.07same shade1.181.471.972.443.104.516.378.1713.65
2001.271.18same shade1.241.672.072.623.825.396.9211.56
3001.581.471.24same shade1.341.662.113.074.335.559.28
4002.131.971.671.34same shade1.231.572.283.224.146.91
5002.642.442.071.661.23same shade1.261.842.603.345.58
6003.353.102.622.111.571.26same shade1.452.052.634.39
7004.874.513.823.072.281.841.45same shade1.411.803.02
8006.886.375.394.333.222.602.051.41same shade1.282.14
9008.828.176.925.554.143.342.631.801.28same shade1.67
95014.7413.6511.569.286.915.584.393.022.141.67same shade

Rows are the text shade, columns the background. A bold figure on a tinted cell passes 4.5:1 for body text; a plain one passes 3:1 for large text only; a faint one fails.

Color vision

The scale with color blindness

The same eleven shades as seen with each color vision deficiency. Lightness keeps a ramp in order even where its hue collapses.

Simulated with Machado et al. (2009) at full severity, in linear light.

What each type sees
  • Typical vision

    Closest neighbors: 50 and 100, ΔE2000 6.0

  • Protanopia

    Closest neighbors: 800 and 900, ΔE2000 5.2

  • Deuteranopia

    Closest neighbors: 400 and 500, ΔE2000 4.9

  • Tritanopia

    Closest neighbors: 500 and 600, ΔE2000 5.0

  • Achromatopsia

    Closest neighbors: 50 and 100, ΔE2000 1.9

Code

Design tokens

The whole family in six formats, ready to paste.

CSS custom properties

:root {
  --color-orange-50: #fff7ed;
  --color-orange-100: #ffedd5;
  --color-orange-200: #fed7aa;
  --color-orange-300: #fdba74;
  --color-orange-400: #fb923c;
  --color-orange-500: #f97316;
  --color-orange-600: #ea580c;
  --color-orange-700: #c2410c;
  --color-orange-800: #9a3412;
  --color-orange-900: #7c2d12;
  --color-orange-950: #431407;
}

Tailwind config

// tailwind.config.js — orange is built in; this pins the v3.4 values.
module.exports = {
  theme: {
    extend: {
      colors: {
        orange: {
          50: '#fff7ed',
          100: '#ffedd5',
          200: '#fed7aa',
          300: '#fdba74',
          400: '#fb923c',
          500: '#f97316',
          600: '#ea580c',
          700: '#c2410c',
          800: '#9a3412',
          900: '#7c2d12',
          950: '#431407',
        },
      },
    },
  },
};

Tailwind v4 theme

/* app.css — Tailwind CSS v4 */
@import "tailwindcss";

@theme {
  /* v4 has its own orange; these pin the v3 values. */
  --color-orange-50: oklch(0.980 0.016 73.7);
  --color-orange-100: oklch(0.954 0.037 75.2);
  --color-orange-200: oklch(0.901 0.073 70.7);
  --color-orange-300: oklch(0.837 0.117 66.3);
  --color-orange-400: oklch(0.758 0.159 55.9);
  --color-orange-500: oklch(0.705 0.187 47.6);
  --color-orange-600: oklch(0.646 0.194 41.1);
  --color-orange-700: oklch(0.553 0.174 38.4);
  --color-orange-800: oklch(0.470 0.143 37.3);
  --color-orange-900: oklch(0.408 0.116 38.2);
  --color-orange-950: oklch(0.266 0.076 36.3);
}

Design tokens (W3C DTCG)

{
  "color": {
    "orange": {
      "50": {
        "$type": "color",
        "$value": {
          "colorSpace": "srgb",
          "components": [1, 0.9686, 0.9294],
          "hex": "#fff7ed"
        }
      },
      "100": {
        "$type": "color",
        "$value": {
          "colorSpace": "srgb",
          "components": [1, 0.9294, 0.8353],
          "hex": "#ffedd5"
        }
      },
      "200": {
        "$type": "color",
        "$value": {
          "colorSpace": "srgb",
          "components": [0.9961, 0.8431, 0.6667],
          "hex": "#fed7aa"
        }
      },
      "300": {
        "$type": "color",
        "$value": {
          "colorSpace": "srgb",
          "components": [0.9922, 0.7294, 0.4549],
          "hex": "#fdba74"
        }
      },
      "400": {
        "$type": "color",
        "$value": {
          "colorSpace": "srgb",
          "components": [0.9843, 0.5725, 0.2353],
          "hex": "#fb923c"
        }
      },
      "500": {
        "$type": "color",
        "$value": {
          "colorSpace": "srgb",
          "components": [0.9765, 0.451, 0.0863],
          "hex": "#f97316"
        }
      },
      "600": {
        "$type": "color",
        "$value": {
          "colorSpace": "srgb",
          "components": [0.9176, 0.3451, 0.0471],
          "hex": "#ea580c"
        }
      },
      "700": {
        "$type": "color",
        "$value": {
          "colorSpace": "srgb",
          "components": [0.7608, 0.2549, 0.0471],
          "hex": "#c2410c"
        }
      },
      "800": {
        "$type": "color",
        "$value": {
          "colorSpace": "srgb",
          "components": [0.6039, 0.2039, 0.0706],
          "hex": "#9a3412"
        }
      },
      "900": {
        "$type": "color",
        "$value": {
          "colorSpace": "srgb",
          "components": [0.4863, 0.1765, 0.0706],
          "hex": "#7c2d12"
        }
      },
      "950": {
        "$type": "color",
        "$value": {
          "colorSpace": "srgb",
          "components": [0.2627, 0.0784, 0.0275],
          "hex": "#431407"
        }
      }
    }
  }
}

SwiftUI colors

import SwiftUI

enum Palette {
    static let orange50 = Color(.sRGB, red: 1.000, green: 0.969, blue: 0.929, opacity: 1)
    static let orange100 = Color(.sRGB, red: 1.000, green: 0.929, blue: 0.835, opacity: 1)
    static let orange200 = Color(.sRGB, red: 0.996, green: 0.843, blue: 0.667, opacity: 1)
    static let orange300 = Color(.sRGB, red: 0.992, green: 0.729, blue: 0.455, opacity: 1)
    static let orange400 = Color(.sRGB, red: 0.984, green: 0.573, blue: 0.235, opacity: 1)
    static let orange500 = Color(.sRGB, red: 0.976, green: 0.451, blue: 0.086, opacity: 1)
    static let orange600 = Color(.sRGB, red: 0.918, green: 0.345, blue: 0.047, opacity: 1)
    static let orange700 = Color(.sRGB, red: 0.761, green: 0.255, blue: 0.047, opacity: 1)
    static let orange800 = Color(.sRGB, red: 0.604, green: 0.204, blue: 0.071, opacity: 1)
    static let orange900 = Color(.sRGB, red: 0.486, green: 0.176, blue: 0.071, opacity: 1)
    static let orange950 = Color(.sRGB, red: 0.263, green: 0.078, blue: 0.027, opacity: 1)
}

Jetpack Compose colors

import androidx.compose.ui.graphics.Color

object Palette {
    val Orange50 = Color(0xFFFFF7ED)
    val Orange100 = Color(0xFFFFEDD5)
    val Orange200 = Color(0xFFFED7AA)
    val Orange300 = Color(0xFFFDBA74)
    val Orange400 = Color(0xFFFB923C)
    val Orange500 = Color(0xFFF97316)
    val Orange600 = Color(0xFFEA580C)
    val Orange700 = Color(0xFFC2410C)
    val Orange800 = Color(0xFF9A3412)
    val Orange900 = Color(0xFF7C2D12)
    val Orange950 = Color(0xFF431407)
}

Families

Other Tailwind families

The rest of the Tailwind CSS v3.4 palette, in the order Tailwind lists it.