CSS named color

Blanched Almond #FFEBCD

The CSS keyword blanchedalmond is #FFEBCD. It is a pale grayish amber in the orange family. In OKLCH it sits at lightness 0.948, chroma 0.045 and hue 78.1°.

Relative luminance
0.8508
OKLCH L · C · h
0.948 · 0.045 · 78.1
Best text
Black 18.01:1
Hue family
Orange

#FFEBCD color codes

HEX
#FFEBCD
RGB
rgb(255, 235, 205)
HSL
hsl(36, 100%, 90%)
OKLCH
oklch(0.948 0.045 78.1)
OKLab
oklab(0.948 0.009 0.044)
CIELAB (D65)
L* 93.92, a* 2.13, b* 17.03
XYZ (D65)
X 81.97, Y 85.09, Z 69.85
CMYK (naive)
cmyk(0%, 8%, 20%, 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 #FFEBCD accessible?

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

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

    1.16:1

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

    Text is here, unreadable at 1.16:1

  • As text on black

    18.01:1

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

    1.16:1

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

    Text is here, unreadable at 1.16:1

Nearest versions that pass 4.5:1

  • For text on white

    #867459 4.51:1

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

  • For text on black

    #FFEBCD 18.01:1

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

Checking another pair? Use the Contrast Checker.

Studio

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

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

  1. 50#FFF3E2
    White
    1.09
    Black
    19.17
  2. 100This color#FFEBCD
    White
    1.16
    Black
    18.01
  3. 200#E6D5BB
    White
    1.43
    Black
    14.59
  4. 300#CDBBA0
    White
    1.87
    Black
    11.21
  5. 400#B19F83
    White
    2.57
    Black
    8.15
  6. 500#958368
    White
    3.66
    Black
    5.72
  7. 600#7D6C51
    White
    5.07
    Black
    4.13
  8. 700#66553C
    White
    7.16
    Black
    2.92
  9. 800#4C3D26
    White
    10.48
    Black
    2.00
  10. 900#332612
    White
    14.71
    Black
    1.42
  11. 950#1E1404
    White
    18.15
    Black
    1.15

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

Gamut

How vivid #FFEBCD can get

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

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.045
sRGB edge
0.045
Display P3 edge
0.056
Rec. 2020 edge
0.087
Dominant wavelength
578 nm
Excitation purity
18%
Chromaticity
x 0.3460, y 0.3592
  • This color#FFEBCD
  • Most vivid in sRGB#FFEBCD
  • Most vivid in Display P3oklch(0.948 0.056 78.1)

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

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

Mixing

Mixing #FFEBCD

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

Black #000000

  • sRGB50%#807667
  • OKLab50%#635B4E
  • OKLCH50%#635B4E

Its complement #E4EFFF

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

In use

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

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

Dark page

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

Color vision

How #FFEBCD looks with color blindness

Tritanopia changes it most, ΔE2000 13.5; protanopia 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

    #F4EBCB ΔE2000 5.1

    Noticeable

    Reads as pale grayish amber

  • Deuteranopia

    No working green (medium-wavelength) cones

    #F9F0CE ΔE2000 5.3

    Noticeable

    Reads as pale grayish amber

  • Tritanopia

    No working blue (short-wavelength) cones

    #FFE5E3 ΔE2000 13.5

    Distinct

    Reads as pale grayish red

  • Achromatopsia

    No cone color vision; lightness only

    #EDEDED ΔE2000 12.5

    Distinct

    Reads as off-white

Pairing check

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

VisionThe pairΔE2000Verdict
Normal vision#FFEBCD · #E4EFFF20.2Stays distinct
Protanopia#F4EBCB · #EAEFFF20.5Stays distinct
Deuteranopia#F9F0CE · #E7EDFF21.9Stays distinct
Tritanopia#FFE5E3 · #DEF2F421.5Stays distinct
Achromatopsia#EDEDED · #EEEEEE0.2Easily confused

Harmony

Color harmonies for #FFEBCD

Its complement is #E4EFFF, 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#FFEBCD
  • Complement#E4EFFF

Complementary

Open in Harmony Studio
  • −30°#FFE9DE
  • Base#FFEBCD
  • +30°#F0F1CF
  • Base#FFEBCD
  • +120°#CCF8F9
  • +240°#F9E6FF
  • Base#FFEBCD
  • +150°#D9F3FF
  • +210°#EDECFF

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-blanchedalmond: #ffebcd;
}

Tailwind config

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

Tailwind v4 theme

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

@theme {
  --color-blanchedalmond: oklch(0.948 0.045 78.1);
}

Design token (W3C DTCG)

{
  "color": {
    "blanchedalmond": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [1, 0.9216, 0.8039],
        "hex": "#ffebcd"
      },
      "$description": "CSS named color blanchedalmond"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let blanchedalmond = Color(.sRGB, red: 1.000, green: 0.922, blue: 0.804, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val Blanchedalmond = Color(0xFFFFEBCD)
}

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

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