#FDF8CC#FDF8CC

#FDF8CC is a very light, muted yellow. Relative luminance 0.924; OKLCH L 97.2% C 0.057 H 102.0°. Best body text is #000000 at 19.48:1 contrast (WCAG AA passes).

Color values

HEX#FDF8CC
RGBrgb(253, 248, 204)
HSLhsl(54, 92%, 90%)
HSVhsv(54, 19%, 99%)
CMYKcmyk(0%, 2%, 19.4%, 0.8%)
CIE-LABlab(96.97, -5.29, 21.79)
CIE-LCHlch(96.97, 22.42, 103.64°)
OKLaboklab(97.21% -0.0119 0.0558)
OKLCHoklch(97.21% 0.057 102)
XYZxyz(84.9740, 92.3782, 70.4694)
Luminance0.9238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF8CC #CCD1FD
analogous
#FDE0CC #FDF8CC #E9FDCC
triadic
#FDF8CC #CCFDF8 #F8CCFD
tetradic
#FDF8CC #CCFDE0 #CCD1FD #FDCCE9
square
#FDF8CC #CCFDE0 #CCD1FD #FDCCE9
split-complementary
#FDF8CC #CCE9FD #E0CCFD
monochromatic
#F8E856 #FBF091 #FDF8CC #FEFBE2 #FEFBE2

Accessibility & contrast

On white

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

On black

19.48
#FDF8CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF8CC
19.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF8CC#FFFFFF#000000##000000
##FDF8CC1.001.0819.4819.48
#FFFFFF1.081.0021.0021.00
#00000019.4821.001.001.00
##00000019.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF5C9
Deuteranopia (green-blind)
#FFF8CD
Tritanopia (blue-blind)
#FFF2EC
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fdf8cc;
/* rgb */ color: rgb(253, 248, 204);
/* oklch */ color: oklch(97.2% 0.057 102.0);
Tailwind
colors: {
  custom: {
    50: '#fefadb',
    500: '#fdf8cc',
    950: '#000000',
  },
}
SCSS
$custom: #fdf8cc;
$custom-light: #fefadb;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf8cc",
  "rgb": {
    "r": 253,
    "g": 248,
    "b": 204
  },
  "hsl": {
    "h": 53.878,
    "s": 92.453,
    "l": 89.608
  },
  "oklch": {
    "l": 0.97205,
    "c": 0.05704,
    "h": 102
  },
  "luminance": 0.92377
}

Semantic roles & 50–950 ramp

primary
#FDF8CC
secondary
#8891E5
accent
#17E600
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#181715
muted
#868584

Preview Lab

Preview with #FDF8CC

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

Preview Lab → · Contrast checker → · Palette generator →

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