#FFFDF2#FFFDF2

#FFFDF2 is a very light, near-neutral yellow. Relative luminance 0.979; OKLCH L 99.3% C 0.015 H 98.3°. Best body text is #000000 at 20.58:1 contrast (WCAG AA passes).

Color values

HEX#FFFDF2
RGBrgb(255, 253, 242)
HSLhsl(51, 100%, 97%)
HSVhsv(51, 5%, 100%)
CMYKcmyk(0%, 0.8%, 5.1%, 0%)
CIE-LABlab(99.19, -1.22, 5.49)
CIE-LCHlch(99.19, 5.62, 102.48°)
OKLaboklab(99.26% -0.0021 0.0144)
OKLCHoklch(99.26% 0.015 98.3)
XYZxyz(92.3900, 97.9217, 98.0207)
Luminance0.9792 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFDF2 #F2F4FF
analogous
#FFF7F2 #FFFDF2 #FBFFF2
triadic
#FFFDF2 #F2FFFD #FDF2FF
tetradic
#FFFDF2 #F2FFF7 #F2F4FF #FFF2FB
square
#FFFDF2 #F2FFF7 #F2F4FF #FFF2FB
split-complementary
#FFFDF2 #F2FBFF #F7F2FF
monochromatic
#FFEA78 #FFF4B5 #FFFAE0 #FFFAE0 #FFFAE0

Accessibility & contrast

On white

1.02
#FFFDF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

20.58
#FFFDF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFDF2
20.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFDF2#FFFFFF#000000##000000
##FFFDF21.001.0220.5820.58
#FFFFFF1.021.0021.0021.00
#00000020.5821.001.001.00
##00000020.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFFCF1
Deuteranopia (green-blind)
#FFFDF2
Tritanopia (blue-blind)
#FFFBFA
Achromatopsia (no color)
#FDFDFD

Design tokens & code

CSS
--color: #fffdf2;
/* rgb */ color: rgb(255, 253, 242);
/* oklch */ color: oklch(99.3% 0.015 98.3);
Tailwind
colors: {
  custom: {
    50: '#fffef6',
    500: '#fffdf2',
    950: '#000000',
  },
}
SCSS
$custom: #fffdf2;
$custom-light: #fffef6;
$custom-dark: #000000;
JSON
{
  "hex": "#fffdf2",
  "rgb": {
    "r": 255,
    "g": 253,
    "b": 242
  },
  "hsl": {
    "h": 50.769,
    "s": 100,
    "l": 97.451
  },
  "oklch": {
    "l": 0.9926,
    "c": 0.01459,
    "h": 98.3
  },
  "luminance": 0.97921
}

Semantic roles & 50–950 ramp

primary
#FFFDF2
secondary
#A6B1EF
accent
#23E600
background
#FFFFFF
surface
#FFFFFE
border
#D7D7D6
text
#181717
muted
#868585

Preview Lab

Preview with #FFFDF2

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

Preview Lab → · Contrast checker → · Palette generator →

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