Skip to content

CSS named color

OldLace #FDF5E6

OldLace (CSS keyword oldlace) has the hex code #FDF5E6 and the RGB value rgb(253, 245, 230): an off-white with a beige tint.

OldLace#FDF5E6

A warm off-white (#fdf5e6) meant to evoke aged lace. It is nearly the same as floralwhite and linen.

Color codes for OldLace

Color codes for OldLace
CSS keywordoldlace
HEX#FDF5E6
RGBrgb(253, 245, 230)
HSLhsl(39, 85%, 95%)
HWBhwb(39 90% 1%)
OKLCHoklch(97.2% 0.022 83.3)
CMYK (naive, no ICC profile)cmyk(0%, 3%, 9%, 1%)
Decimal16,643,558
Hue familyWhites and off-whites

Contrast and accessibility

On oldlace, black text has a contrast ratio of 19.38:1 and passes AAA at any text size; white text reaches 1.08: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 oldlace19.38:1PassPassPassPass100.5
White text on oldlace1.08:1FailFailFailFail0.0
Oldlace text on white1.08:1FailFailFailFail0.0
Oldlace text on black19.38:1PassPassPassPass−101.8

Tints and shades

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

Tints (mixed with white)

  1. 5%
    #fdf6e7
  2. 15%
    #fdf7ea
  3. 25%
    #fef8ec
  4. 35%
    #fef9ef
  5. 45%
    #fefaf1
  6. 55%
    #fefbf4
  7. 65%
    #fefcf6
  8. 75%
    #fffdf9
  9. 85%
    #fffefb
  10. 95%
    #fffffe

Shades (mixed with black)

  1. 5%
    #f0e9db
  2. 15%
    #d7d0c4
  3. 25%
    #beb8ad
  4. 35%
    #a49f96
  5. 45%
    #8b877f
  6. 55%
    #726e67
  7. 65%
    #595651
  8. 75%
    #3f3d3a
  9. 85%
    #262523
  10. 95%
    #0d0c0c

Color harmonies

Rotating the hue in OKLCH while keeping lightness and chroma, oldlace's complementary color is #EEF6FF (close to aliceblue), its analogous colors are #FFF2E9 and #F5F8E7, and its triadic partners are #E6FBFC and #FDF1FF. For text on top, black gives the higher contrast.

Color harmonies
HarmonyRotationColor
Complementary+180°#eef6ff
Analogous−30°, +30°#fff2e9#f5f8e7
Triadic+120°, +240°#e6fbfc#fdf1ff
Split-complementary+150°, +210°#e8f9ff#f6f4ff

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?

OldLace is close to neutral: its OKLCH chroma is only 0.022, so its temperature comes from context. The faint 39° hue gives it a slightly warm cast.

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
seashell#fff5ee1.1
linen#faf0e61.4
floralwhite#fffaf01.6

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
orange-50#fff7ed1.0
amber-50#fffbeb1.5
yellow-50#fefce81.7

Code snippets

CSS
.element {
  color: oldlace;
  background-color: #fdf5e6;
  border-color: rgb(253 245 230);
  outline-color: oklch(97.2% 0.022 83.3);
}
Tailwind CSS
<div class="bg-[#fdf5e6] text-black">...</div>

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

extension Color {
  static let oldlace = Color(red: 0.992, green: 0.961, blue: 0.902)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

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

const oldlace = Color(0xFFFDF5E6);
Android XML
<!-- res/values/colors.xml -->
<color name="oldlace">#FDF5E6</color>

Frequently asked questions

What is the hex code for oldlace?
The hex code for oldlace is #FDF5E6. The same color is rgb(253, 245, 230), hsl(39, 85%, 95%) and oklch(97.2% 0.022 83.3), and in CSS you can also write the keyword oldlace directly.
Is oldlace a warm or cool color?
OldLace is close to neutral: its OKLCH chroma is only 0.022, so its temperature comes from context. The faint 39° hue gives it a slightly warm cast.
What colors go with oldlace?
Rotating the hue in OKLCH while keeping lightness and chroma, oldlace's complementary color is #EEF6FF (close to aliceblue), its analogous colors are #FFF2E9 and #F5F8E7, and its triadic partners are #E6FBFC and #FDF1FF. For text on top, black gives the higher contrast.
Can you use white text on oldlace?
White text on oldlace has a contrast ratio of 1.08:1, which fails AA even for large text under WCAG 2.2. Black text reaches 19.38:1 and passes both AA and AAA. In APCA terms that is Lc 0.0 for white and Lc 100.5 for black.
What is the RGB value of oldlace?
OldLace is rgb(253, 245, 230): red 253, green 245 and blue 230 on the 0 to 255 scale, or 99.2%, 96.1% and 90.2%. As a decimal integer it is 16643558.

Last reviewed by Arielton Oberek.