Tailwind CSS v3 color

Tailwind orange-200 #FED7AA

Tailwind CSS v3's orange-200 is #FED7AA. It is a pale muted orange in the orange family. In OKLCH it sits at lightness 0.901, chroma 0.073 and hue 70.7°. The nearest CSS named color is navajowhite (#FFDEAD), ΔE2000 2.8 away.

Relative luminance
0.7257
OKLCH L · C · h
0.901 · 0.073 · 70.7
Best text
Black 15.51:1
Hue family
Orange

#FED7AA color codes

HEX
#FED7AA
RGB
rgb(254, 215, 170)
HSL
hsl(32, 98%, 83%)
OKLCH
oklch(0.901 0.073 70.7)
OKLab
oklab(0.901 0.024 0.069)
CIELAB (D65)
L* 88.25, a* 7.37, b* 27.29
XYZ (D65)
X 72.43, Y 72.58, Z 48.22
CMYK (naive)
cmyk(0%, 15%, 33%, 0%)

CIELAB and XYZ use the D65 white point; CSS lab() uses D50, so paste the OKLCH or HEX value into stylesheets. CMYK here is a plain formula with no press profile.

Legibility

Contrast: is #FED7AA accessible?

Black text on it reaches 15.51:1, passing AAA. White text fails at 1.35:1.

WCAG 2 gives the same ratio whichever color is the text; APCA does not, so its Lc changes sign and size with polarity.

Open the Contrast System
  • Black text on it

    15.51:1

    • AA passes
    • AA large passes
    • AAA passes
    • APCA Lc +86
  • White text on it

    1.35:1

    • AA fails
    • AA large fails
    • AAA fails
    • APCA Lc −19

    Text is here, unreadable at 1.35:1

  • As text on black

    15.51:1

    • AA passes
    • AA large passes
    • AAA passes
    • APCA Lc −86
  • As text on white

    1.35:1

    • AA fails
    • AA large fails
    • AAA fails
    • APCA Lc +17

    Text is here, unreadable at 1.35:1

Nearest versions that pass 4.5:1

  • For text on white

    #937046 4.51:1

    Darkening its OKLCH lightness from 0.90 to 0.57 reaches 4.51:1 on white, keeping the hue.

  • For text on black

    #FED7AA 15.51:1

    It already reaches 15.51:1 on black, so no change is needed.

Checking another pair? Use the Contrast Checker.

Studio

Adjust #FED7AA live

Move lightness, chroma and hue in OKLCH, or drag on the map. The map is every lightness and chroma at the current hue: sRGB inside the solid area, Display P3 out to the dashed line.

The studio needs JavaScript.

Scale

Shades and tints of #FED7AA

Eleven OKLCH lightness steps at this hue, each with its contrast against white and black. #FED7AA sits at step 200.

  1. 50#FFF3E6
    White
    1.09
    Black
    19.21
  2. 100#FFE7CB
    White
    1.19
    Black
    17.54
  3. 200This color#FED7AA
    White
    1.35
    Black
    15.51
  4. 300#DAB78E
    White
    1.88
    Black
    11.14
  5. 400#BE9A70
    White
    2.61
    Black
    8.04
  6. 500#A27F54
    White
    3.68
    Black
    5.70
  7. 600#8A673E
    White
    5.13
    Black
    4.09
  8. 700#715128
    White
    7.21
    Black
    2.90
  9. 800#563912
    White
    10.55
    Black
    1.98
  10. 900#3B2300
    White
    14.72
    Black
    1.42
  11. 950#221200
    White
    18.18
    Black
    1.15

Under each step, white and black text on it; a bold figure passes 4.5:1.

Tailwind CSS v3 orange scale

The real Tailwind palette, for comparison with the computed ramp above.

  1. 50#FFF7ED
    White
    1.06
    Black
    19.77
  2. 100#FFEDD5
    White
    1.14
    Black
    18.32
  3. 200This color#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

Gamut

How vivid #FED7AA can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.075; #FED7AA uses 97% of it. Display P3, which many recent phones and laptops show, reaches 0.095 there: 26% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.073
sRGB edge
0.075
Display P3 edge
0.095
Rec. 2020 edge
0.144
Dominant wavelength
581 nm
Excitation purity
30%
Chromaticity
x 0.3749, y 0.3756
  • This color#FED7AA
  • Most vivid in sRGB#FFD7A8
  • Most vivid in Display P3oklch(0.901 0.095 70.7)

On a screen without Display P3 the last tile shows the sRGB edge instead.

Use the wider color where screens show it
.accent {
  color: #fed7aa;
}
@media (color-gamut: p3) {
  .accent { color: color(display-p3 1 0.84 0.6294); }
}

Mixing

Mixing #FED7AA

Each row is the same mix worked out in a different space, with the halfway color at its end. sRGB, which older CSS gradients use, can sag gray or dark in the middle; OKLab keeps the lightness steps even; OKLCH holds chroma and hue as it goes.

White #FFFFFF

  • sRGB50%#FFEBD5
  • OKLab50%#FFEBD5
  • OKLCH50%#FFEBD5

Black #000000

  • sRGB50%#7F6C55
  • OKLab50%#63523F
  • OKLCH50%#63523F

Its complement #C7E2FF

  • sRGB50%#E3DDD5
  • OKLab50%#E4DDD6
  • OKLCH50%#BCECD1
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #fed7aa, white);
color: color-mix(in oklch, #fed7aa 50%, white);

In use

#FED7AA in an interface

A button, a link, a heading, a focused field, an icon and a chart line in this color, on a light page and a dark one. Each check is a WCAG 2 contrast minimum: 1.4.3 for text, 1.4.11 for the rest.

Light page

  • Button labelText, 4.5:115.51:1 Passes
  • Link and body-size textText, 4.5:11.35:1 Fails
  • Large headingLarge text, 3:11.35:1 Fails
  • Icons, borders and focus ringsNon-text, 3:11.35:1 Fails

For text on this page, the nearest shade that passes is #937046 4.51:1

Dark page

  • Button labelText, 4.5:115.51:1 Passes
  • Link and body-size textText, 4.5:113.84:1 Passes
  • Large headingLarge text, 3:113.84:1 Passes
  • Icons, borders and focus ringsNon-text, 3:113.84:1 Passes

Color vision

How #FED7AA looks with color blindness

Achromatopsia changes it most, ΔE2000 17.6; protanopia changes it least, 9.2.

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

Simulate a whole page What each type sees
  • Protanopia

    No working red (long-wavelength) cones

    #E5D8A7 ΔE2000 9.2

    Noticeable

    Reads as pale muted amber

  • Deuteranopia

    No working green (medium-wavelength) cones

    #EEE1AB ΔE2000 9.6

    Noticeable

    Reads as pale muted amber

  • Tritanopia

    No working blue (short-wavelength) cones

    #FFCECB ΔE2000 17.2

    Distinct

    Reads as pale muted red

  • Achromatopsia

    No cone color vision; lightness only

    #DDDDDD ΔE2000 17.6

    Distinct

    Reads as light gray

Pairing check

Checked against its complement, #C7E2FF. Their lightness contrast is only 1.01:1, so where hue collapses, add a label, icon or pattern.

VisionThe pairΔE2000Verdict
Normal vision#FED7AA · #C7E2FF30.2Stays distinct
Protanopia#E5D8A7 · #D7E2FF30.1Stays distinct
Deuteranopia#EEE1AB · #D1DCFE32.9Stays distinct
Tritanopia#FFCECB · #B8E8EB35.1Stays distinct
Achromatopsia#DDDDDD · #DFDFDF0.5Easily confused

Harmony

Color harmonies for #FED7AA

Its complement is #C7E2FF, a pale grayish blue, on the cool side of the wheel.

Hue rotations in OKLCH, mapped into sRGB by trimming chroma so hue and lightness stay put.

Open the Harmony Studio
  • Base#FED7AA
  • Complement#C7E2FF

Complementary

Open in Harmony Studio
  • −30°#FFD3C4
  • Base#FED7AA
  • +30°#E9E1A9
  • Base#FED7AA
  • +120°#A5EFEA
  • +240°#ECD3FF
  • Base#FED7AA
  • +150°#ABEAFF
  • +210°#D8DCFF

Split-complementary

Open in Harmony Studio

Code

Design tokens

Ready-to-paste tokens in six formats. Rename them to fit your system.

CSS custom property

:root {
  --color-orange-200: #fed7aa;
}

Tailwind config

// tailwind.config.js — already built in as orange-200;
// pin the v3 value explicitly like this:
module.exports = {
  theme: {
    extend: {
      colors: {
        orange: { 200: '#fed7aa' },
      },
    },
  },
};

Tailwind v4 theme

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

@theme {
  /* v4 has its own orange-200; this pins the v3 value. */
  --color-orange-200: oklch(0.901 0.073 70.7);
}

Design token (W3C DTCG)

{
  "color": {
    "orange-200": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.9961, 0.8431, 0.6667],
        "hex": "#fed7aa"
      },
      "$description": "Tailwind CSS v3 orange-200"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let orange200 = Color(.sRGB, red: 0.996, green: 0.843, blue: 0.667, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val Orange200 = Color(0xFFFED7AA)
}

Matches

The nearest match in each system

The closest CSS name, Tailwind shade, RAL Classic paint and Crayola crayon by ΔE2000; under 2 is hard to tell apart side by side. RAL and Crayola values approximate physical colors.

Tools

Open #FED7AA in the tools

Each opens over this page. More colors live in the Color Library, and every color page is listed on the hub.