#FDF7DF#FDF7DF

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

Color values

HEX#FDF7DF
RGBrgb(253, 247, 223)
HSLhsl(48, 88%, 93%)
HSVhsv(48, 12%, 99%)
CMYKcmyk(0%, 2.4%, 11.9%, 0.8%)
CIE-LABlab(97.12, -1.95, 12.25)
CIE-LCHlch(97.12, 12.41, 99.04°)
OKLaboklab(97.45% -0.003 0.0319)
OKLCHoklch(97.45% 0.032 95.4)
XYZxyz(87.0868, 92.7328, 83.1092)
Luminance0.9273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF7DF #DFE5FD
analogous
#FDE8DF #FDF7DF #F4FDDF
triadic
#FDF7DF #DFFDF7 #F7DFFD
tetradic
#FDF7DF #DFFDE8 #DFE5FD #FDDFF4
square
#FDF7DF #DFFDE8 #DFE5FD #FDDFF4
split-complementary
#FDF7DF #DFF4FD #E8DFFD
monochromatic
#F6DA6C #F9E9A5 #FDF7DF #FDF8E2 #FDF8E2

Accessibility & contrast

On white

1.07
#FDF7DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.55
#FDF7DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF7DF
19.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF7DF#FFFFFF#000000##000000
##FDF7DF1.001.0719.5519.55
#FFFFFF1.071.0021.0021.00
#00000019.5521.001.001.00
##00000019.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fdf7df;
/* rgb */ color: rgb(253, 247, 223);
/* oklch */ color: oklch(97.4% 0.032 95.4);
Tailwind
colors: {
  custom: {
    50: '#fef9e9',
    500: '#fdf7df',
    950: '#000000',
  },
}
SCSS
$custom: #fdf7df;
$custom-light: #fef9e9;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf7df",
  "rgb": {
    "r": 253,
    "g": 247,
    "b": 223
  },
  "hsl": {
    "h": 48,
    "s": 88.235,
    "l": 93.333
  },
  "oklch": {
    "l": 0.97449,
    "c": 0.03204,
    "h": 95.4
  },
  "luminance": 0.92732
}

Semantic roles & 50–950 ramp

primary
#FDF7DF
secondary
#99A9E7
accent
#2EE501
background
#FFFFFE
surface
#FFFFFC
border
#D7D7D5
text
#171716
muted
#858584

Preview Lab

Preview with #FDF7DF

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

Preview Lab → · Contrast checker → · Palette generator →

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