Tailwind CSS v3 color

Tailwind orange-100 #FFEDD5

Tailwind CSS v3's orange-100 is #FFEDD5. It is a pale grayish amber in the orange family. In OKLCH it sits at lightness 0.954, chroma 0.037 and hue 75.2°. The nearest CSS named color is papayawhip (#FFEFD5), ΔE2000 1.4 away.

Relative luminance
0.8663
OKLCH L · C · h
0.954 · 0.037 · 75.2
Best text
Black 18.32:1
Hue family
Orange

#FFEDD5 color codes

HEX
#FFEDD5
RGB
rgb(255, 237, 213)
HSL
hsl(34, 100%, 92%)
OKLCH
oklch(0.954 0.037 75.2)
OKLab
oklab(0.954 0.010 0.036)
CIELAB (D65)
L* 94.58, a* 2.29, b* 13.83
XYZ (D65)
X 83.53, Y 86.63, Z 75.26
CMYK (naive)
cmyk(0%, 7%, 16%, 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 #FFEDD5 accessible?

Black text on it reaches 18.32:1, passing AAA. White text fails at 1.14: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

    18.32:1

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

    1.14:1

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

    Text is here, unreadable at 1.14:1

  • As text on black

    18.32:1

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

    1.14:1

    • AA fails
    • AA large fails
    • AAA fails
    • APCA Lc 0

    Text is here, unreadable at 1.14:1

Nearest versions that pass 4.5:1

  • For text on white

    #84745F 4.52:1

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

  • For text on black

    #FFEDD5 18.32:1

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

Checking another pair? Use the Contrast Checker.

Studio

Adjust #FFEDD5 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 #FFEDD5

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

  1. 50#FFF3E4
    White
    1.09
    Black
    19.19
  2. 100This color#FFEDD5
    White
    1.14
    Black
    18.32
  3. 200#E4D5C0
    White
    1.44
    Black
    14.57
  4. 300#CBBBA5
    White
    1.87
    Black
    11.19
  5. 400#AF9F89
    White
    2.57
    Black
    8.14
  6. 500#94836E
    White
    3.66
    Black
    5.73
  7. 600#7C6C57
    White
    5.07
    Black
    4.13
  8. 700#645542
    White
    7.19
    Black
    2.91
  9. 800#4A3D2B
    White
    10.53
    Black
    1.99
  10. 900#322717
    White
    14.60
    Black
    1.43
  11. 950#1D1407
    White
    18.17
    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. 100This color#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

Gamut

How vivid #FFEDD5 can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.037; #FFEDD5 uses 100% of it. Display P3, which many recent phones and laptops show, reaches 0.047 there: 25% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.037
sRGB edge
0.037
Display P3 edge
0.047
Rec. 2020 edge
0.072
Dominant wavelength
579 nm
Excitation purity
14%
Chromaticity
x 0.3404, y 0.3530
  • This color#FFEDD5
  • Most vivid in sRGB#FFEDD5
  • Most vivid in Display P3oklch(0.954 0.047 75.2)

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

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

Mixing

Mixing #FFEDD5

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%#FFF6EA
  • OKLab50%#FFF6EA
  • OKLCH50%#FFF6EA

Black #000000

  • sRGB50%#80776B
  • OKLab50%#635C51
  • OKLCH50%#635C51

Its complement #E6F1FF

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

In use

#FFEDD5 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:118.32:1 Passes
  • Link and body-size textText, 4.5:11.14:1 Fails
  • Large headingLarge text, 3:11.14:1 Fails
  • Icons, borders and focus ringsNon-text, 3:11.14:1 Fails

For text on this page, the nearest shade that passes is #84745F 4.52:1

Dark page

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

Color vision

How #FFEDD5 looks with color blindness

Tritanopia changes it most, ΔE2000 11.1; deuteranopia changes it least, 5.1.

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

    #F4EDD4 ΔE2000 5.2

    Noticeable

    Reads as pale grayish amber

  • Deuteranopia

    No working green (medium-wavelength) cones

    #F9F1D6 ΔE2000 5.1

    Noticeable

    Reads as pale grayish amber

  • Tritanopia

    No working blue (short-wavelength) cones

    #FFE8E6 ΔE2000 11.1

    Distinct

    Reads as pale grayish red

  • Achromatopsia

    No cone color vision; lightness only

    #EFEFEF ΔE2000 10.8

    Distinct

    Reads as off-white

Pairing check

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

VisionThe pairΔE2000Verdict
Normal vision#FFEDD5 · #E6F1FF17.8Stays distinct
Protanopia#F4EDD4 · #ECF1FF17.7Stays distinct
Deuteranopia#F9F1D6 · #EAEFFF18.9Stays distinct
Tritanopia#FFE8E6 · #E0F4F519.0Stays distinct
Achromatopsia#EFEFEF · #F0F0F00.2Easily confused

Harmony

Color harmonies for #FFEDD5

Its complement is #E6F1FF, a pale grayish blue.

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

Open the Harmony Studio
  • Base#FFEDD5
  • Complement#E6F1FF

Complementary

Open in Harmony Studio
  • −30°#FFEBE3
  • Base#FFEDD5
  • +30°#F3F2D6
  • Base#FFEDD5
  • +120°#D4F8F8
  • +240°#F8EAFF
  • Base#FFEDD5
  • +150°#DCF5FF
  • +210°#EEEEFF

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-100: #ffedd5;
}

Tailwind config

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

Tailwind v4 theme

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

@theme {
  /* v4 has its own orange-100; this pins the v3 value. */
  --color-orange-100: oklch(0.954 0.037 75.2);
}

Design token (W3C DTCG)

{
  "color": {
    "orange-100": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [1, 0.9294, 0.8353],
        "hex": "#ffedd5"
      },
      "$description": "Tailwind CSS v3 orange-100"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let orange100 = Color(.sRGB, red: 1.000, green: 0.929, blue: 0.835, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val Orange100 = Color(0xFFFFEDD5)
}

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 #FFEDD5 in the tools

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