#FFF9DE#FFF9DE

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

Color values

HEX#FFF9DE
RGBrgb(255, 249, 222)
HSLhsl(49, 100%, 94%)
HSVhsv(49, 13%, 100%)
CMYKcmyk(0%, 2.4%, 12.9%, 0%)
CIE-LABlab(97.75, -2.41, 13.68)
CIE-LCHlch(97.75, 13.89, 100.00°)
OKLaboklab(97.97% -0.0042 0.0355)
OKLCHoklch(97.97% 0.036 96.7)
XYZxyz(88.2993, 94.2862, 82.6405)
Luminance0.9428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF9DE #DEE4FF
analogous
#FFE8DE #FFF9DE #F4FFDE
triadic
#FFF9DE #DEFFF9 #F9DEFF
tetradic
#FFF9DE #DEFFE8 #DEE4FF #FFDEF4
square
#FFF9DE #DEFFE8 #DEE4FF #FFDEF4
split-complementary
#FFF9DE #DEF4FF #E8DEFF
monochromatic
#FFE364 #FFEEA1 #FFF9DE #FFF9E0 #FFF9E0

Accessibility & contrast

On white

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

On black

19.86
#FFF9DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF9DE
19.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF9DE#FFFFFF#000000##000000
##FFF9DE1.001.0619.8619.86
#FFFFFF1.061.0021.0021.00
#00000019.8621.001.001.00
##00000019.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF7DC
Deuteranopia (green-blind)
#FFFADF
Tritanopia (blue-blind)
#FFF5F1
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #fff9de;
/* rgb */ color: rgb(255, 249, 222);
/* oklch */ color: oklch(98.0% 0.036 96.7);
Tailwind
colors: {
  custom: {
    50: '#fffbe8',
    500: '#fff9de',
    950: '#000000',
  },
}
SCSS
$custom: #fff9de;
$custom-light: #fffbe8;
$custom-dark: #000000;
JSON
{
  "hex": "#fff9de",
  "rgb": {
    "r": 255,
    "g": 249,
    "b": 222
  },
  "hsl": {
    "h": 49.091,
    "s": 100,
    "l": 93.529
  },
  "oklch": {
    "l": 0.97974,
    "c": 0.03578,
    "h": 96.7
  },
  "luminance": 0.94285
}

Semantic roles & 50–950 ramp

primary
#FFF9DE
secondary
#95A5EC
accent
#2AE600
background
#FFFFFE
surface
#FFFFFC
border
#D7D7D5
text
#181716
muted
#868584

Preview Lab

Preview with #FFF9DE

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

Preview Lab → · Contrast checker → · Palette generator →

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