CSS named color

Navajo White #FFDEAD

The CSS keyword navajowhite is #FFDEAD. It is a pale muted amber in the orange family. In OKLCH it sits at lightness 0.916, chroma 0.073 and hue 77.4°.

Relative luminance
0.7652
OKLCH L · C · h
0.916 · 0.073 · 77.4
Best text
Black 16.30:1
Hue family
Orange

#FFDEAD color codes

HEX
#FFDEAD
RGB
rgb(255, 222, 173)
HSL
hsl(36, 100%, 84%)
OKLCH
oklch(0.916 0.073 77.4)
OKLab
oklab(0.916 0.016 0.071)
CIELAB (D65)
L* 90.10, a* 4.51, b* 28.27
XYZ (D65)
X 74.91, Y 76.52, Z 50.35
CMYK (naive)
cmyk(0%, 13%, 32%, 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 #FFDEAD accessible?

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

    16.30:1

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

    1.28:1

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

    Text is here, unreadable at 1.28:1

  • As text on black

    16.30:1

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

    1.28:1

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

    Text is here, unreadable at 1.28:1

Nearest versions that pass 4.5:1

  • For text on white

    #8E7143 4.57:1

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

  • For text on black

    #FFDEAD 16.30:1

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

Checking another pair? Use the Contrast Checker.

Studio

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

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

  1. 50#FFF3E3
    White
    1.09
    Black
    19.18
  2. 100This color#FFDEAD
    White
    1.28
    Black
    16.30
  3. 200#F0D3A8
    White
    1.43
    Black
    14.58
  4. 300#D7B98C
    White
    1.87
    Black
    11.20
  5. 400#BB9C6E
    White
    2.59
    Black
    8.09
  6. 500#9F8153
    White
    3.65
    Black
    5.73
  7. 600#86693C
    White
    5.12
    Black
    4.09
  8. 700#6E5326
    White
    7.17
    Black
    2.92
  9. 800#533B0F
    White
    10.49
    Black
    2.00
  10. 900#392400
    White
    14.72
    Black
    1.42
  11. 950#211300
    White
    18.13
    Black
    1.15

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

Gamut

How vivid #FFDEAD can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.073; #FFDEAD uses 100% of it. Display P3, which many recent phones and laptops show, reaches 0.091 there: 25% 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.073
Display P3 edge
0.091
Rec. 2020 edge
0.139
Dominant wavelength
579 nm
Excitation purity
30%
Chromaticity
x 0.3712, y 0.3792
  • This color#FFDEAD
  • Most vivid in sRGB#FFDEAD
  • Most vivid in Display P3oklch(0.916 0.091 77.4)

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

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

Mixing

Mixing #FFDEAD

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

Black #000000

  • sRGB50%#806F57
  • OKLab50%#635541
  • OKLCH50%#635541

Its complement #D3E5FF

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

In use

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

For text on this page, the nearest shade that passes is #8E7143 4.57:1

Dark page

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

Color vision

How #FFDEAD looks with color blindness

Tritanopia changes it most, ΔE2000 18.2; protanopia changes it least, 6.6.

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

    #ECDEAA ΔE2000 6.6

    Noticeable

    Reads as pale muted amber

  • Deuteranopia

    No working green (medium-wavelength) cones

    #F4E6AE ΔE2000 6.9

    Noticeable

    Reads as pale muted amber

  • Tritanopia

    No working blue (short-wavelength) cones

    #FFD5D1 ΔE2000 18.2

    Distinct

    Reads as pale grayish red

  • Achromatopsia

    No cone color vision; lightness only

    #E3E3E3 ΔE2000 17.5

    Distinct

    Reads as off-white

Pairing check

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

VisionThe pairΔE2000Verdict
Normal vision#FFDEAD · #D3E5FF29.0Stays distinct
Protanopia#ECDEAA · #DCE6FF29.2Stays distinct
Deuteranopia#F4E6AE · #D8E2FE31.2Stays distinct
Tritanopia#FFD5D1 · #C8EAED29.8Stays distinct
Achromatopsia#E3E3E3 · #E3E3E30.0Easily confused

Harmony

Color harmonies for #FFDEAD

Its complement is #D3E5FF, 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#FFDEAD
  • Complement#D3E5FF

Complementary

Open in Harmony Studio
  • −30°#FFDBC9
  • Base#FFDEAD
  • +30°#E8E8AF
  • Base#FFDEAD
  • +120°#A9F3F4
  • +240°#F5D7FF
  • Base#FFDEAD
  • +150°#C0EBFF
  • +210°#E1E0FF

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-navajowhite: #ffdead;
}

Tailwind config

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        navajowhite: '#ffdead',
      },
    },
  },
};

Tailwind v4 theme

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

@theme {
  --color-navajowhite: oklch(0.916 0.073 77.4);
}

Design token (W3C DTCG)

{
  "color": {
    "navajowhite": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [1, 0.8706, 0.6784],
        "hex": "#ffdead"
      },
      "$description": "CSS named color navajowhite"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let navajowhite = Color(.sRGB, red: 1.000, green: 0.871, blue: 0.678, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val Navajowhite = Color(0xFFFFDEAD)
}

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

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