#FDF8DF#FDF8DF

#FDF8DF is a very light, muted yellow. Relative luminance 0.933; OKLCH L 97.6% C 0.033 H 97.7°. Best body text is #000000 at 19.67:1 contrast (WCAG AA passes).

Color values

HEX#FDF8DF
RGBrgb(253, 248, 223)
HSLhsl(50, 88%, 93%)
HSVhsv(50, 12%, 99%)
CMYKcmyk(0%, 2%, 11.9%, 0.8%)
CIE-LABlab(97.37, -2.45, 12.61)
CIE-LCHlch(97.37, 12.84, 101.01°)
OKLaboklab(97.65% -0.0044 0.0328)
OKLCHoklch(97.65% 0.033 97.7)
XYZxyz(87.3934, 93.3460, 83.2114)
Luminance0.9335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF8DF #DFE4FD
analogous
#FDE9DF #FDF8DF #F3FDDF
triadic
#FDF8DF #DFFDF8 #F8DFFD
tetradic
#FDF8DF #DFFDE9 #DFE4FD #FDDFF3
square
#FDF8DF #DFFDE9 #DFE4FD #FDDFF3
split-complementary
#FDF8DF #DFF3FD #E9DFFD
monochromatic
#F6DF6C #F9EBA5 #FDF8DF #FDF9E2 #FDF9E2

Accessibility & contrast

On white

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

On black

19.67
#FDF8DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF8DF
19.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF8DF#FFFFFF#000000##000000
##FDF8DF1.001.0719.6719.67
#FFFFFF1.071.0021.0021.00
#00000019.6721.001.001.00
##00000019.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDF6DE
Deuteranopia (green-blind)
#FFF8E0
Tritanopia (blue-blind)
#FFF4F1
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fdf8df;
/* rgb */ color: rgb(253, 248, 223);
/* oklch */ color: oklch(97.6% 0.033 97.7);
Tailwind
colors: {
  custom: {
    50: '#fefae9',
    500: '#fdf8df',
    950: '#000000',
  },
}
SCSS
$custom: #fdf8df;
$custom-light: #fefae9;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf8df",
  "rgb": {
    "r": 253,
    "g": 248,
    "b": 223
  },
  "hsl": {
    "h": 50,
    "s": 88.235,
    "l": 93.333
  },
  "oklch": {
    "l": 0.97645,
    "c": 0.0331,
    "h": 97.7
  },
  "luminance": 0.93345
}

Semantic roles & 50–950 ramp

primary
#FDF8DF
secondary
#99A6E7
accent
#27E501
background
#FFFFFE
surface
#FFFFFC
border
#D7D7D5
text
#171716
muted
#858584

Preview Lab

Preview with #FDF8DF

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

Preview Lab → · Contrast checker → · Palette generator →

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