#FDF7DC#FDF7DC

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

Color values

HEX#FDF7DC
RGBrgb(253, 247, 220)
HSLhsl(49, 89%, 93%)
HSVhsv(49, 13%, 99%)
CMYKcmyk(0%, 2.4%, 13%, 0.8%)
CIE-LABlab(97.05, -2.41, 13.70)
CIE-LCHlch(97.05, 13.91, 99.99°)
OKLaboklab(97.38% -0.0042 0.0356)
OKLCHoklch(97.38% 0.036 96.7)
XYZxyz(86.6859, 92.5724, 80.9979)
Luminance0.9257 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF7DC #DCE2FD
analogous
#FDE6DC #FDF7DC #F2FDDC
triadic
#FDF7DC #DCFDF7 #F7DCFD
tetradic
#FDF7DC #DCFDE6 #DCE2FD #FDDCF2
square
#FDF7DC #DCFDE6 #DCE2FD #FDDCF2
split-complementary
#FDF7DC #DCF2FD #E6DCFD
monochromatic
#F6DD68 #FAEAA2 #FDF7DC #FDF8E2 #FDF8E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FDF7DC#FFFFFF#000000##000000
##FDF7DC1.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)
#FDF5DA
Deuteranopia (green-blind)
#FFF8DD
Tritanopia (blue-blind)
#FFF3EF
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fdf7dc;
/* rgb */ color: rgb(253, 247, 220);
/* oklch */ color: oklch(97.4% 0.036 96.7);
Tailwind
colors: {
  custom: {
    50: '#fef9e6',
    500: '#fdf7dc',
    950: '#000000',
  },
}
SCSS
$custom: #fdf7dc;
$custom-light: #fef9e6;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf7dc",
  "rgb": {
    "r": 253,
    "g": 247,
    "b": 220
  },
  "hsl": {
    "h": 49.091,
    "s": 89.189,
    "l": 92.745
  },
  "oklch": {
    "l": 0.97376,
    "c": 0.03583,
    "h": 96.7
  },
  "luminance": 0.92571
}

Semantic roles & 50–950 ramp

primary
#FDF7DC
secondary
#96A5E7
accent
#2AE600
background
#FFFFFE
surface
#FFFFFC
border
#D7D7D5
text
#171716
muted
#858584

Preview Lab

Preview with #FDF7DC

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

Preview Lab → · Contrast checker → · Palette generator →

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