#FFF9DF#FFF9DF

#FFF9DF is a very light, muted yellow. Relative luminance 0.943; OKLCH L 98.0% C 0.035 H 96.3°. Best body text is #000000 at 19.87:1 contrast (WCAG AA passes).

Color values

HEX#FFF9DF
RGBrgb(255, 249, 223)
HSLhsl(49, 100%, 94%)
HSVhsv(49, 13%, 100%)
CMYKcmyk(0%, 2.4%, 12.5%, 0%)
CIE-LABlab(97.77, -2.26, 13.20)
CIE-LCHlch(97.77, 13.39, 99.71°)
OKLaboklab(98% -0.0038 0.0343)
OKLCHoklch(98% 0.035 96.3)
XYZxyz(88.4337, 94.3400, 83.3485)
Luminance0.9434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF9DF #DFE5FF
analogous
#FFE9DF #FFF9DF #F5FFDF
triadic
#FFF9DF #DFFFF9 #F9DFFF
tetradic
#FFF9DF #DFFFE9 #DFE5FF #FFDFF5
square
#FFF9DF #DFFFE9 #DFE5FF #FFDFF5
split-complementary
#FFF9DF #DFF5FF #E9DFFF
monochromatic
#FFE265 #FFEEA2 #FFF9DF #FFF9E0 #FFF9E0

Accessibility & contrast

On white

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

On black

19.87
#FFF9DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF9DF
19.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF9DF#FFFFFF#000000##000000
##FFF9DF1.001.0619.8719.87
#FFFFFF1.061.0021.0021.00
#00000019.8721.001.001.00
##00000019.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF7DE
Deuteranopia (green-blind)
#FFFAE0
Tritanopia (blue-blind)
#FFF5F2
Achromatopsia (no color)
#F9F9F9

Design tokens & code

CSS
--color: #fff9df;
/* rgb */ color: rgb(255, 249, 223);
/* oklch */ color: oklch(98.0% 0.035 96.3);
Tailwind
colors: {
  custom: {
    50: '#fffbe9',
    500: '#fff9df',
    950: '#000000',
  },
}
SCSS
$custom: #fff9df;
$custom-light: #fffbe9;
$custom-dark: #000000;
JSON
{
  "hex": "#fff9df",
  "rgb": {
    "r": 255,
    "g": 249,
    "b": 223
  },
  "hsl": {
    "h": 48.75,
    "s": 100,
    "l": 93.725
  },
  "oklch": {
    "l": 0.97998,
    "c": 0.03452,
    "h": 96.3
  },
  "luminance": 0.94339
}

Semantic roles & 50–950 ramp

primary
#FFF9DF
secondary
#96A6EC
accent
#2BE600
background
#FFFFFE
surface
#FFFFFC
border
#D7D7D5
text
#181716
muted
#868584

Preview Lab

Preview with #FFF9DF

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

Preview Lab → · Contrast checker → · Palette generator →

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