#FFF7DF#FFF7DF

#FFF7DF is a very light, muted yellow. Relative luminance 0.931; OKLCH L 97.6% C 0.033 H 91.7°. Best body text is #000000 at 19.62:1 contrast (WCAG AA passes).

Color values

HEX#FFF7DF
RGBrgb(255, 247, 223)
HSLhsl(45, 100%, 94%)
HSVhsv(45, 13%, 100%)
CMYKcmyk(0%, 3.1%, 12.5%, 0%)
CIE-LABlab(97.27, -1.25, 12.49)
CIE-LCHlch(97.27, 12.56, 95.73°)
OKLaboklab(97.61% -0.0009 0.0325)
OKLCHoklch(97.61% 0.033 91.7)
XYZxyz(87.8189, 93.1102, 83.1435)
Luminance0.9311 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF7DF #DFE7FF
analogous
#FFE7DF #FFF7DF #F7FFDF
triadic
#FFF7DF #DFFFF7 #F7DFFF
tetradic
#FFF7DF #DFFFE7 #DFE7FF #FFDFF7
square
#FFF7DF #DFFFE7 #DFE7FF #FFDFF7
split-complementary
#FFF7DF #DFF7FF #E7DFFF
monochromatic
#FFD865 #FFE8A2 #FFF7DF #FFF7E0 #FFF7E0

Accessibility & contrast

On white

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

On black

19.62
#FFF7DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF7DF
19.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF7DF#FFFFFF#000000##000000
##FFF7DF1.001.0719.6219.62
#FFFFFF1.071.0021.0021.00
#00000019.6221.001.001.00
##00000019.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDF6DE
Deuteranopia (green-blind)
#FFF8E0
Tritanopia (blue-blind)
#FFF3F0
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fff7df;
/* rgb */ color: rgb(255, 247, 223);
/* oklch */ color: oklch(97.6% 0.033 91.7);
Tailwind
colors: {
  custom: {
    50: '#fff9e9',
    500: '#fff7df',
    950: '#000000',
  },
}
SCSS
$custom: #fff7df;
$custom-light: #fff9e9;
$custom-dark: #000000;
JSON
{
  "hex": "#fff7df",
  "rgb": {
    "r": 255,
    "g": 247,
    "b": 223
  },
  "hsl": {
    "h": 45,
    "s": 100,
    "l": 93.725
  },
  "oklch": {
    "l": 0.97607,
    "c": 0.03253,
    "h": 91.7
  },
  "luminance": 0.93109
}

Semantic roles & 50–950 ramp

primary
#FFF7DF
secondary
#96ABEC
accent
#39E600
background
#FFFFFE
surface
#FFFFFC
border
#D7D7D5
text
#181716
muted
#868584

Preview Lab

Preview with #FFF7DF

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

Preview Lab → · Contrast checker → · Palette generator →

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