#FFF7DC#FFF7DC

#FFF7DC is a very light, muted yellow. Relative luminance 0.929; OKLCH L 97.5% C 0.036 H 93.3°. Best body text is #000000 at 19.59:1 contrast (WCAG AA passes).

Color values

HEX#FFF7DC
RGBrgb(255, 247, 220)
HSLhsl(46, 100%, 93%)
HSVhsv(46, 14%, 100%)
CMYKcmyk(0%, 3.1%, 13.7%, 0%)
CIE-LABlab(97.21, -1.71, 13.94)
CIE-LCHlch(97.21, 14.05, 97.01°)
OKLaboklab(97.53% -0.0021 0.0362)
OKLCHoklch(97.53% 0.036 93.3)
XYZxyz(87.4180, 92.9499, 81.0322)
Luminance0.9295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF7DC #DCE4FF
analogous
#FFE5DC #FFF7DC #F5FFDC
triadic
#FFF7DC #DCFFF7 #F7DCFF
tetradic
#FFF7DC #DCFFE5 #DCE4FF #FFDCF5
square
#FFF7DC #DCFFE5 #DCE4FF #FFDCF5
split-complementary
#FFF7DC #DCF5FF #E5DCFF
monochromatic
#FFDB62 #FFE99F #FFF7DC #FFF8E0 #FFF8E0

Accessibility & contrast

On white

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

On black

19.59
#FFF7DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF7DC
19.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF7DC#FFFFFF#000000##000000
##FFF7DC1.001.0719.5919.59
#FFFFFF1.071.0021.0021.00
#00000019.5921.001.001.00
##00000019.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDF5DA
Deuteranopia (green-blind)
#FFF8DD
Tritanopia (blue-blind)
#FFF3EF
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fff7dc;
/* rgb */ color: rgb(255, 247, 220);
/* oklch */ color: oklch(97.5% 0.036 93.3);
Tailwind
colors: {
  custom: {
    50: '#fff9e6',
    500: '#fff7dc',
    950: '#000000',
  },
}
SCSS
$custom: #fff7dc;
$custom-light: #fff9e6;
$custom-dark: #000000;
JSON
{
  "hex": "#fff7dc",
  "rgb": {
    "r": 255,
    "g": 247,
    "b": 220
  },
  "hsl": {
    "h": 46.286,
    "s": 100,
    "l": 93.137
  },
  "oklch": {
    "l": 0.97534,
    "c": 0.03626,
    "h": 93.3
  },
  "luminance": 0.92949
}

Semantic roles & 50–950 ramp

primary
#FFF7DC
secondary
#93A8EC
accent
#34E600
background
#FFFFFE
surface
#FFFFFC
border
#D7D7D5
text
#181716
muted
#868584

Preview Lab

Preview with #FFF7DC

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

Preview Lab → · Contrast checker → · Palette generator →

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