#FDF7CC#FDF7CC

#FDF7CC is a very light, muted yellow. Relative luminance 0.918; OKLCH L 97.0% C 0.056 H 100.8°. Best body text is #000000 at 19.35:1 contrast (WCAG AA passes).

Color values

HEX#FDF7CC
RGBrgb(253, 247, 204)
HSLhsl(53, 92%, 90%)
HSVhsv(53, 19%, 99%)
CMYKcmyk(0%, 2.4%, 19.4%, 0.8%)
CIE-LABlab(96.72, -4.79, 21.44)
CIE-LCHlch(96.72, 21.96, 102.59°)
OKLaboklab(97.01% -0.0105 0.0549)
OKLCHoklch(97.01% 0.056 100.8)
XYZxyz(84.6674, 91.7650, 70.3672)
Luminance0.9176 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF7CC #CCD2FD
analogous
#FDDFCC #FDF7CC #EBFDCC
triadic
#FDF7CC #CCFDF7 #F7CCFD
tetradic
#FDF7CC #CCFDDF #CCD2FD #FDCCEB
square
#FDF7CC #CCFDDF #CCD2FD #FDCCEB
split-complementary
#FDF7CC #CCEBFD #DFCCFD
monochromatic
#F8E556 #FBEE91 #FDF7CC #FEFAE2 #FEFAE2

Accessibility & contrast

On white

1.09
#FDF7CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.35
#FDF7CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF7CC
19.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF7CC#FFFFFF#000000##000000
##FDF7CC1.001.0919.3519.35
#FFFFFF1.091.0021.0021.00
#00000019.3521.001.001.00
##00000019.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF4C9
Deuteranopia (green-blind)
#FFF7CD
Tritanopia (blue-blind)
#FFF1EB
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fdf7cc;
/* rgb */ color: rgb(253, 247, 204);
/* oklch */ color: oklch(97.0% 0.056 100.8);
Tailwind
colors: {
  custom: {
    50: '#fef9db',
    500: '#fdf7cc',
    950: '#000000',
  },
}
SCSS
$custom: #fdf7cc;
$custom-light: #fef9db;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf7cc",
  "rgb": {
    "r": 253,
    "g": 247,
    "b": 204
  },
  "hsl": {
    "h": 52.653,
    "s": 92.453,
    "l": 89.608
  },
  "oklch": {
    "l": 0.97008,
    "c": 0.05592,
    "h": 100.8
  },
  "luminance": 0.91764
}

Semantic roles & 50–950 ramp

primary
#FDF7CC
secondary
#8893E5
accent
#1CE600
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#181715
muted
#868584

Preview Lab

Preview with #FDF7CC

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

Preview Lab → · Contrast checker → · Palette generator →

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