#FFFEF9#FFFEF9

#FFFEF9 is a very light, near-neutral yellow. Relative luminance 0.990; OKLCH L 99.6% C 0.007 H 97.3°. Best body text is #000000 at 20.80:1 contrast (WCAG AA passes).

Color values

HEX#FFFEF9
RGBrgb(255, 254, 249)
HSLhsl(50, 100%, 99%)
HSVhsv(50, 2%, 100%)
CMYKcmyk(0%, 0.4%, 2.4%, 0%)
CIE-LABlab(99.61, -0.54, 2.50)
CIE-LCHlch(99.61, 2.56, 102.08°)
OKLaboklab(99.64% -0.0008 0.0066)
OKLCHoklch(99.64% 0.007 97.3)
XYZxyz(93.7780, 98.9834, 103.7695)
Luminance0.9898 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFEF9 #F9FAFF
analogous
#FFFBF9 #FFFEF9 #FDFFF9
triadic
#FFFEF9 #F9FFFE #FEF9FF
tetradic
#FFFEF9 #F9FFFB #F9FAFF #FFF9FD
square
#FFFEF9 #F9FFFB #F9FAFF #FFF9FD
split-complementary
#FFFEF9 #F9FDFF #FBF9FF
monochromatic
#FFEA7F #FFF4BC #FFFAE0 #FFFAE0 #FFFAE0

Accessibility & contrast

On white

1.01
#FFFEF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

20.80
#FFFEF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFEF9
20.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFEF9#FFFFFF#000000##000000
##FFFEF91.001.0120.8020.80
#FFFFFF1.011.0021.0021.00
#00000020.8021.001.001.00
##00000020.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFFEF9
Deuteranopia (green-blind)
#FFFEF9
Tritanopia (blue-blind)
#FFFDFC
Achromatopsia (no color)
#FEFEFE

Design tokens & code

CSS
--color: #fffef9;
/* rgb */ color: rgb(255, 254, 249);
/* oklch */ color: oklch(99.6% 0.007 97.3);
Tailwind
colors: {
  custom: {
    50: '#fffefb',
    500: '#fffef9',
    950: '#000000',
  },
}
SCSS
$custom: #fffef9;
$custom-light: #fffefb;
$custom-dark: #000000;
JSON
{
  "hex": "#fffef9",
  "rgb": {
    "r": 255,
    "g": 254,
    "b": 249
  },
  "hsl": {
    "h": 50,
    "s": 100,
    "l": 98.824
  },
  "oklch": {
    "l": 0.99641,
    "c": 0.00666,
    "h": 97.3
  },
  "luminance": 0.98983
}

Semantic roles & 50–950 ramp

primary
#FFFEF9
secondary
#ACB7F0
accent
#26E600
background
#FFFFFF
surface
#FFFFFF
border
#D7D7D7
text
#181717
muted
#868585

Preview Lab

Preview with #FFFEF9

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

Preview Lab → · Contrast checker → · Palette generator →

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