#FDF5DC#FDF5DC

#FDF5DC is a very light, muted yellow. Relative luminance 0.914; OKLCH L 97.0% C 0.034 H 92.3°. Best body text is #000000 at 19.27:1 contrast (WCAG AA passes).

Color values

HEX#FDF5DC
RGBrgb(253, 245, 220)
HSLhsl(45, 89%, 93%)
HSVhsv(45, 13%, 99%)
CMYKcmyk(0%, 3.2%, 13%, 0.8%)
CIE-LABlab(96.56, -1.41, 13.00)
CIE-LCHlch(96.56, 13.07, 96.18°)
OKLaboklab(96.98% -0.0013 0.0338)
OKLCHoklch(96.98% 0.034 92.3)
XYZxyz(86.0776, 91.3558, 80.7951)
Luminance0.9135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FDF5DC #DCE4FD
analogous
#FDE4DC #FDF5DC #F4FDDC
triadic
#FDF5DC #DCFDF5 #F5DCFD
tetradic
#FDF5DC #DCFDE4 #DCE4FD #FDDCF4
square
#FDF5DC #DCFDE4 #DCE4FD #FDDCF4
split-complementary
#FDF5DC #DCF4FD #E4DCFD
monochromatic
#F6D468 #FAE4A2 #FDF5DC #FDF7E2 #FDF7E2

Accessibility & contrast

On white

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

On black

19.27
#FDF5DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FDF5DC
19.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FDF5DC#FFFFFF#000000##000000
##FDF5DC1.001.0919.2719.27
#FFFFFF1.091.0021.0021.00
#00000019.2721.001.001.00
##00000019.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBF4DB
Deuteranopia (green-blind)
#FDF6DD
Tritanopia (blue-blind)
#FFF1EE
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fdf5dc;
/* rgb */ color: rgb(253, 245, 220);
/* oklch */ color: oklch(97.0% 0.034 92.3);
Tailwind
colors: {
  custom: {
    50: '#fef8e6',
    500: '#fdf5dc',
    950: '#000000',
  },
}
SCSS
$custom: #fdf5dc;
$custom-light: #fef8e6;
$custom-dark: #000000;
JSON
{
  "hex": "#fdf5dc",
  "rgb": {
    "r": 253,
    "g": 245,
    "b": 220
  },
  "hsl": {
    "h": 45.455,
    "s": 89.189,
    "l": 92.745
  },
  "oklch": {
    "l": 0.96984,
    "c": 0.03382,
    "h": 92.3
  },
  "luminance": 0.91355
}

Semantic roles & 50–950 ramp

primary
#FDF5DC
secondary
#96AAE7
accent
#38E600
background
#FFFFFE
surface
#FFFEFC
border
#D7D6D5
text
#171716
muted
#858584

Preview Lab

Preview with #FDF5DC

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

Preview Lab → · Contrast checker → · Palette generator →

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