Skip to content

CSS named color

NavajoWhite #FFDEAD

NavajoWhite (CSS keyword navajowhite) has the hex code #FFDEAD and the RGB value rgb(255, 222, 173): a pale, muted beige.

NavajoWhite#FFDEAD

A light peach-tan (#ffdead), darker than its "white" suggests. The name, taken from the Navajo people, is also used for off-white house paints; the X11 list gives no source.

Color codes for NavajoWhite

Color codes for NavajoWhite
CSS keywordnavajowhite
HEX#FFDEAD
RGBrgb(255, 222, 173)
HSLhsl(36, 100%, 84%)
HWBhwb(36 68% 0%)
OKLCHoklch(91.6% 0.073 77.4)
CMYK (naive, no ICC profile)cmyk(0%, 13%, 32%, 0%)
Decimal16,768,685
Hue familyBrowns and tans

Contrast and accessibility

On navajowhite, black text has a contrast ratio of 16.30:1 and passes AAA at any text size; white text reaches 1.28:1.

WCAG 2.2 contrast ratios (success criteria 1.4.3 and 1.4.6: AA needs 4.5:1 for normal text and 3:1 for large text, AAA needs 7:1 and 4.5:1). APCA Lc is the lightness contrast from the APCA-W3 0.0.98G model proposed for WCAG 3; a higher absolute value is more readable, and Lc 75 is its suggested minimum for body text.

Contrast and accessibility
PairRatioAAAA largeAAAAAA largeAPCA Lc
Black text on navajowhite16.30:1PassPassPassPass89.4
White text on navajowhite1.28:1FailFailFailFail−16.4
Navajowhite text on white1.28:1FailFailFailFail14.3
Navajowhite text on black16.30:1PassPassPassPass−89.6

Tints and shades

Each step mixes navajowhite with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, navajowhite, white 25%) in CSS.

Tints (mixed with white)

  1. 5%
    #ffe0b1
  2. 15%
    #ffe3b9
  3. 25%
    #ffe6c2
  4. 35%
    #ffeaca
  5. 45%
    #ffedd2
  6. 55%
    #fff0da
  7. 65%
    #fff3e2
  8. 75%
    #fff7eb
  9. 85%
    #fffaf3
  10. 95%
    #fffdfb

Shades (mixed with black)

  1. 5%
    #f2d3a4
  2. 15%
    #d9bd93
  3. 25%
    #bfa782
  4. 35%
    #a69070
  5. 45%
    #8c7a5f
  6. 55%
    #73644e
  7. 65%
    #594e3d
  8. 75%
    #40382b
  9. 85%
    #26211a
  10. 95%
    #0d0b09

Color harmonies

Rotating the hue in OKLCH while keeping lightness and chroma, navajowhite's complementary color is #CAE6FF (close to lavender), its analogous colors are #FFD6BB and #E8E8AF, and its triadic partners are #A9F3F4 and #F8D5FF. For text on top, black gives the higher contrast.

Color harmonies
HarmonyRotationColor
Complementary+180°#cae6ff
Analogous−30°, +30°#ffd6bb#e8e8af
Triadic+120°, +240°#a9f3f4#f8d5ff
Split-complementary+150°, +210°#b0eeff#e0deff

Computed in OKLCH: the hue is rotated by 180° (complementary), ±30° (analogous), ±120° (triadic) and 180° ±30° (split-complementary) while lightness and chroma stay fixed. Results that fall outside sRGB are brought back with the CSS Color 4 gamut mapping algorithm. Because this uses OKLCH, the values differ from tools that rotate hue in HSL, but every color keeps the same perceived lightness.

Warm or cool?

NavajoWhite is a warm color: its hue is 36° on the HSL wheel, in the red, orange and yellow range (0° to about 70°, plus reds above 330°) that is conventionally called warm.

Nearest named and Tailwind colors

Distance is ΔE OK, the Euclidean distance in OKLab multiplied by 100. Values under about 2 are hard to tell apart side by side.

Nearest CSS named colors

Nearest CSS named colors
ColorHEXΔE OK
moccasin#ffe4b51.5
wheat#f5deb31.5
peachpuff#ffdab92.1

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
orange-200#ffd6a71.8
orange-100#ffedd45.1
amber-100#fef3c65.2

Code snippets

CSS
.element {
  color: navajowhite;
  background-color: #ffdead;
  border-color: rgb(255 222 173);
  outline-color: oklch(91.6% 0.073 77.4);
}
Tailwind CSS
<div class="bg-[#ffdead] text-black">...</div>

/* or register it once in your CSS (Tailwind v4) */
@theme {
  --color-navajowhite: #ffdead;
}
/* then use bg-navajowhite, text-navajowhite, border-navajowhite */
SwiftUI
import SwiftUI

extension Color {
  static let navajowhite = Color(red: 1.000, green: 0.871, blue: 0.678)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

val Navajowhite = Color(0xFFFFDEAD)
Flutter
import 'package:flutter/material.dart';

const navajowhite = Color(0xFFFFDEAD);
Android XML
<!-- res/values/colors.xml -->
<color name="navajowhite">#FFDEAD</color>

Frequently asked questions

What is the hex code for navajowhite?
The hex code for navajowhite is #FFDEAD. The same color is rgb(255, 222, 173), hsl(36, 100%, 84%) and oklch(91.6% 0.073 77.4), and in CSS you can also write the keyword navajowhite directly.
Is navajowhite a warm or cool color?
NavajoWhite is a warm color: its hue is 36° on the HSL wheel, in the red, orange and yellow range (0° to about 70°, plus reds above 330°) that is conventionally called warm.
What colors go with navajowhite?
Rotating the hue in OKLCH while keeping lightness and chroma, navajowhite's complementary color is #CAE6FF (close to lavender), its analogous colors are #FFD6BB and #E8E8AF, and its triadic partners are #A9F3F4 and #F8D5FF. For text on top, black gives the higher contrast.
Can you use white text on navajowhite?
White text on navajowhite has a contrast ratio of 1.28:1, which fails AA even for large text under WCAG 2.2. Black text reaches 16.30:1 and passes both AA and AAA. In APCA terms that is Lc −16.4 for white and Lc 89.4 for black.
What is the RGB value of navajowhite?
NavajoWhite is rgb(255, 222, 173): red 255, green 222 and blue 173 on the 0 to 255 scale, or 100.0%, 87.1% and 67.8%. As a decimal integer it is 16768685.

Last reviewed by Arielton Oberek.