#FCF7DF#FCF7DF

#FCF7DF is a very light, muted yellow. Relative luminance 0.925; OKLCH L 97.4% C 0.032 H 97.3°. Best body text is #000000 at 19.51:1 contrast (WCAG AA passes).

Color values

HEX#FCF7DF
RGBrgb(252, 247, 223)
HSLhsl(50, 83%, 93%)
HSVhsv(50, 12%, 99%)
CMYKcmyk(0%, 2%, 11.5%, 1.2%)
CIE-LABlab(97.04, -2.30, 12.13)
CIE-LCHlch(97.04, 12.35, 100.72°)
OKLaboklab(97.37% -0.004 0.0316)
OKLCHoklch(97.37% 0.032 97.3)
XYZxyz(86.7236, 92.5455, 83.0922)
Luminance0.9254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FCF7DF #DFE4FC
analogous
#FCE8DF #FCF7DF #F2FCDF
triadic
#FCF7DF #DFFCF7 #F7DFFC
tetradic
#FCF7DF #DFFCE8 #DFE4FC #FCDFF2
square
#FCF7DF #DFFCE8 #DFE4FC #FCDFF2
split-complementary
#FCF7DF #DFF2FC #E8DFFC
monochromatic
#F2DB6F #F7E9A7 #FCF7DF #FCF8E3 #FCF8E3

Accessibility & contrast

On white

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

On black

19.51
#FCF7DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FCF7DF
19.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FCF7DF#FFFFFF#000000##000000
##FCF7DF1.001.0819.5119.51
#FFFFFF1.081.0021.0021.00
#00000019.5121.001.001.00
##00000019.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCF5DE
Deuteranopia (green-blind)
#FEF7E0
Tritanopia (blue-blind)
#FFF3F0
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fcf7df;
/* rgb */ color: rgb(252, 247, 223);
/* oklch */ color: oklch(97.4% 0.032 97.3);
Tailwind
colors: {
  custom: {
    50: '#fdf9e9',
    500: '#fcf7df',
    950: '#000000',
  },
}
SCSS
$custom: #fcf7df;
$custom-light: #fdf9e9;
$custom-dark: #000000;
JSON
{
  "hex": "#fcf7df",
  "rgb": {
    "r": 252,
    "g": 247,
    "b": 223
  },
  "hsl": {
    "h": 49.655,
    "s": 82.857,
    "l": 93.137
  },
  "oklch": {
    "l": 0.9737,
    "c": 0.03185,
    "h": 97.3
  },
  "luminance": 0.92545
}

Semantic roles & 50–950 ramp

primary
#FCF7DF
secondary
#9BA8E4
accent
#2CDF06
background
#FFFFFE
surface
#FFFFFC
border
#D7D7D5
text
#171716
muted
#858584

Preview Lab

Preview with #FCF7DF

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

Preview Lab → · Contrast checker → · Palette generator →

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