CSS named color

Antique White #FAEBD7

The CSS keyword antiquewhite is #FAEBD7. It is a pale grayish amber in the neutral family. In OKLCH it sits at lightness 0.947, chroma 0.031 and hue 75.2°.

Relative luminance
0.8465
OKLCH L · C · h
0.947 · 0.031 · 75.2
Best text
Black 17.92:1
Hue family
Neutral

#FAEBD7 color codes

HEX
#FAEBD7
RGB
rgb(250, 235, 215)
HSL
hsl(34, 78%, 91%)
OKLCH
oklch(0.947 0.031 75.2)
OKLab
oklab(0.947 0.008 0.030)
CIELAB (D65)
L* 93.73, a* 1.84, b* 11.53
XYZ (D65)
X 81.40, Y 84.65, Z 76.33
CMYK (naive)
cmyk(0%, 6%, 14%, 2%)

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 #FAEBD7 accessible?

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

    17.92:1

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

    1.17:1

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

    Text is here, unreadable at 1.17:1

  • As text on black

    17.92:1

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

    1.17:1

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

    Text is here, unreadable at 1.17:1

Nearest versions that pass 4.5:1

  • For text on white

    #817462 4.55:1

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

  • For text on black

    #FAEBD7 17.92:1

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

Checking another pair? Use the Contrast Checker.

Studio

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

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

  1. 50#FFF3E4
    White
    1.09
    Black
    19.19
  2. 100This color#FAEBD7
    White
    1.17
    Black
    17.92
  3. 200#E2D5C4
    White
    1.44
    Black
    14.54
  4. 300#C9BCA9
    White
    1.86
    Black
    11.24
  5. 400#AD9F8D
    White
    2.58
    Black
    8.12
  6. 500#918472
    White
    3.65
    Black
    5.74
  7. 600#796C5B
    White
    5.11
    Black
    4.10
  8. 700#625645
    White
    7.15
    Black
    2.93
  9. 800#493E2F
    White
    10.43
    Black
    2.01
  10. 900#31271A
    White
    14.62
    Black
    1.43
  11. 950#1C150A
    White
    18.08
    Black
    1.16

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

Gamut

How vivid #FAEBD7 can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.044; #FAEBD7 uses 71% of it. Display P3, which many recent phones and laptops show, reaches 0.055 there: 25% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.031
sRGB edge
0.044
Display P3 edge
0.055
Rec. 2020 edge
0.084
Dominant wavelength
579 nm
Excitation purity
12%
Chromaticity
x 0.3358, y 0.3492
  • This color#FAEBD7
  • Most vivid in sRGB#FFEACE
  • Most vivid in Display P3oklch(0.947 0.055 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: #faebd7;
}
@media (color-gamut: p3) {
  .accent { color: color(display-p3 1 0.9175 0.7906); }
}

Mixing

Mixing #FAEBD7

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

Black #000000

  • sRGB50%#7D766C
  • OKLab50%#615B52
  • OKLCH50%#615B52

Its complement #E2EFFF

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

In use

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

For text on this page, the nearest shade that passes is #817462 4.55:1

Dark page

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

Color vision

How #FAEBD7 looks with color blindness

Tritanopia changes it most, ΔE2000 10.4; deuteranopia changes it least, 4.4.

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

    #F1EBD6 ΔE2000 4.4

    Close match

    Reads as pale grayish amber

  • Deuteranopia

    No working green (medium-wavelength) cones

    #F5EED7 ΔE2000 4.4

    Close match

    Reads as pale grayish amber

  • Tritanopia

    No working blue (short-wavelength) cones

    #FFE7E5 ΔE2000 10.4

    Distinct

    Reads as pale grayish red

  • Achromatopsia

    No cone color vision; lightness only

    #EDEDED ΔE2000 9.4

    Noticeable

    Reads as off-white

Pairing check

A near-neutral has no complementary hue to pair with, so tell it apart from neighboring grays by lightness contrast alone.

Harmony

Color harmonies for #FAEBD7

Its complement is #E2EFFF, 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#FAEBD7
  • Complement#E2EFFF

Complementary

Open in Harmony Studio
  • −30°#FFE8DE
  • Base#FAEBD7
  • +30°#F0EFD7
  • Base#FAEBD7
  • +120°#D7F4F4
  • +240°#F6E8FC
  • Base#FAEBD7
  • +150°#D8F2FD
  • +210°#EBEBFF

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-antiquewhite: #faebd7;
}

Tailwind config

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

Tailwind v4 theme

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

@theme {
  --color-antiquewhite: oklch(0.947 0.031 75.2);
}

Design token (W3C DTCG)

{
  "color": {
    "antiquewhite": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.9804, 0.9216, 0.8431],
        "hex": "#faebd7"
      },
      "$description": "CSS named color antiquewhite"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let antiquewhite = Color(.sRGB, red: 0.980, green: 0.922, blue: 0.843, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val Antiquewhite = Color(0xFFFAEBD7)
}

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

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