#FFF8DF#FFF8DF

#FFF8DF is a very light, muted yellow. Relative luminance 0.937; OKLCH L 97.8% C 0.033 H 94.0°. Best body text is #000000 at 19.74:1 contrast (WCAG AA passes).

Color values

HEX#FFF8DF
RGBrgb(255, 248, 223)
HSLhsl(47, 100%, 94%)
HSVhsv(47, 13%, 100%)
CMYKcmyk(0%, 2.7%, 12.5%, 0%)
CIE-LABlab(97.52, -1.76, 12.85)
CIE-LCHlch(97.52, 12.97, 97.79°)
OKLaboklab(97.8% -0.0024 0.0334)
OKLCHoklch(97.8% 0.033 94)
XYZxyz(88.1255, 93.7235, 83.2457)
Luminance0.9372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF8DF #DFE6FF
analogous
#FFE8DF #FFF8DF #F6FFDF
triadic
#FFF8DF #DFFFF8 #F8DFFF
tetradic
#FFF8DF #DFFFE8 #DFE6FF #FFDFF6
square
#FFF8DF #DFFFE8 #DFE6FF #FFDFF6
split-complementary
#FFF8DF #DFF6FF #E8DFFF
monochromatic
#FFDD65 #FFEBA2 #FFF8DF #FFF8E0 #FFF8E0

Accessibility & contrast

On white

1.06
#FFF8DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.74
#FFF8DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF8DF
19.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF8DF#FFFFFF#000000##000000
##FFF8DF1.001.0619.7419.74
#FFFFFF1.061.0021.0021.00
#00000019.7421.001.001.00
##00000019.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEF6DE
Deuteranopia (green-blind)
#FFF9E0
Tritanopia (blue-blind)
#FFF4F1
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #fff8df;
/* rgb */ color: rgb(255, 248, 223);
/* oklch */ color: oklch(97.8% 0.033 94.0);
Tailwind
colors: {
  custom: {
    50: '#fffae9',
    500: '#fff8df',
    950: '#000000',
  },
}
SCSS
$custom: #fff8df;
$custom-light: #fffae9;
$custom-dark: #000000;
JSON
{
  "hex": "#fff8df",
  "rgb": {
    "r": 255,
    "g": 248,
    "b": 223
  },
  "hsl": {
    "h": 46.875,
    "s": 100,
    "l": 93.725
  },
  "oklch": {
    "l": 0.97802,
    "c": 0.03349,
    "h": 94
  },
  "luminance": 0.93723
}

Semantic roles & 50–950 ramp

primary
#FFF8DF
secondary
#96A9EC
accent
#32E600
background
#FFFFFE
surface
#FFFFFC
border
#D7D7D5
text
#181716
muted
#868584

Preview Lab

Preview with #FFF8DF

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

Preview Lab → · Contrast checker → · Palette generator →

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