#FDF7D2#FDF7D2

#FDF7D2 is a very light, muted yellow. Relative luminance 0.921; OKLCH L 97.1% C 0.048 H 99.6°. Best body text is #000000 at 19.41:1 contrast (WCAG AA passes).

Color values

HEX#FDF7D2
RGBrgb(253, 247, 210)
HSLhsl(52, 91%, 91%)
HSVhsv(52, 17%, 99%)
CMYKcmyk(0%, 2.4%, 17%, 0.8%)
CIE-LABlab(96.84, -3.92, 18.54)
CIE-LCHlch(96.84, 18.95, 101.94°)
OKLaboklab(97.14% -0.0081 0.0477)
OKLCHoklch(97.14% 0.048 99.6)
XYZxyz(85.4009, 92.0584, 74.2304)
Luminance0.9206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF7D2 #D2D8FD
analogous
#FDE1D2 #FDF7D2 #EDFDD2
triadic
#FDF7D2 #D2FDF7 #F7D2FD
tetradic
#FDF7D2 #D2FDE1 #D2D8FD #FDD2ED
square
#FDF7D2 #D2FDE1 #D2D8FD #FDD2ED
split-complementary
#FDF7D2 #D2EDFD #E1D2FD
monochromatic
#F8E25D #FAED97 #FDF7D2 #FEFAE2 #FEFAE2

Accessibility & contrast

On white

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

On black

19.41
#FDF7D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF7D2
19.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF7D2#FFFFFF#000000##000000
##FDF7D21.001.0819.4119.41
#FFFFFF1.081.0021.0021.00
#00000019.4121.001.001.00
##00000019.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF4D0
Deuteranopia (green-blind)
#FFF7D3
Tritanopia (blue-blind)
#FFF2ED
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fdf7d2;
/* rgb */ color: rgb(253, 247, 210);
/* oklch */ color: oklch(97.1% 0.048 99.6);
Tailwind
colors: {
  custom: {
    50: '#fef9df',
    500: '#fdf7d2',
    950: '#000000',
  },
}
SCSS
$custom: #fdf7d2;
$custom-light: #fef9df;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf7d2",
  "rgb": {
    "r": 253,
    "g": 247,
    "b": 210
  },
  "hsl": {
    "h": 51.628,
    "s": 91.489,
    "l": 90.784
  },
  "oklch": {
    "l": 0.97142,
    "c": 0.04842,
    "h": 99.6
  },
  "luminance": 0.92057
}

Semantic roles & 50–950 ramp

primary
#FDF7D2
secondary
#8D9AE6
accent
#20E600
background
#FFFFFE
surface
#FFFFFC
border
#D7D7D5
text
#171715
muted
#858584

Preview Lab

Preview with #FDF7D2

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

Preview Lab → · Contrast checker → · Palette generator →

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