#FCF7DB#FCF7DB

#FCF7DB is a very light, muted yellow. Relative luminance 0.923; OKLCH L 97.3% C 0.037 H 98.7°. Best body text is #000000 at 19.47:1 contrast (WCAG AA passes).

Color values

HEX#FCF7DB
RGBrgb(252, 247, 219)
HSLhsl(51, 85%, 92%)
HSVhsv(51, 13%, 99%)
CMYKcmyk(0%, 2%, 13.1%, 1.2%)
CIE-LABlab(96.96, -2.92, 14.07)
CIE-LCHlch(96.96, 14.37, 101.72°)
OKLaboklab(97.27% -0.0056 0.0365)
OKLCHoklch(97.27% 0.037 98.7)
XYZxyz(86.1907, 92.3323, 80.2855)
Luminance0.9233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF7DB #DBE0FC
analogous
#FCE7DB #FCF7DB #F1FCDB
triadic
#FCF7DB #DBFCF7 #F7DBFC
tetradic
#FCF7DB #DBFCE7 #DBE0FC #FCDBF1
square
#FCF7DB #DBFCE7 #DBE0FC #FCDBF1
split-complementary
#FCF7DB #DBF1FC #E7DBFC
monochromatic
#F3DE6A #F7EAA3 #FCF7DB #FDF9E3 #FDF9E3

Accessibility & contrast

On white

1.08
#FCF7DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.47
#FCF7DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF7DB
19.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF7DB#FFFFFF#000000##000000
##FCF7DB1.001.0819.4719.47
#FFFFFF1.081.0021.0021.00
#00000019.4721.001.001.00
##00000019.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDF5D9
Deuteranopia (green-blind)
#FFF7DC
Tritanopia (blue-blind)
#FFF3EF
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fcf7db;
/* rgb */ color: rgb(252, 247, 219);
/* oklch */ color: oklch(97.3% 0.037 98.7);
Tailwind
colors: {
  custom: {
    50: '#fdf9e6',
    500: '#fcf7db',
    950: '#000000',
  },
}
SCSS
$custom: #fcf7db;
$custom-light: #fdf9e6;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf7db",
  "rgb": {
    "r": 252,
    "g": 247,
    "b": 219
  },
  "hsl": {
    "h": 50.909,
    "s": 84.615,
    "l": 92.353
  },
  "oklch": {
    "l": 0.97273,
    "c": 0.03694,
    "h": 98.7
  },
  "luminance": 0.92331
}

Semantic roles & 50–950 ramp

primary
#FCF7DB
secondary
#97A3E4
accent
#26E104
background
#FFFFFE
surface
#FFFFFC
border
#D7D7D5
text
#171715
muted
#858584

Preview Lab

Preview with #FCF7DB

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#FCF7DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva