#FEFDF7#FEFDF7

#FEFDF7 is a very light, near-neutral yellow. Relative luminance 0.980; OKLCH L 99.3% C 0.008 H 98.9°. Best body text is #000000 at 20.61:1 contrast (WCAG AA passes).

Color values

HEX#FEFDF7
RGBrgb(254, 253, 247)
HSLhsl(51, 78%, 98%)
HSVhsv(51, 3%, 100%)
CMYKcmyk(0%, 0.4%, 2.8%, 0.4%)
CIE-LABlab(99.24, -0.71, 2.98)
CIE-LCHlch(99.24, 3.06, 103.33°)
OKLaboklab(99.32% -0.0012 0.0079)
OKLCHoklch(99.32% 0.008 98.9)
XYZxyz(92.7843, 98.0370, 102.0126)
Luminance0.9804 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFDF7 #F7F8FE
analogous
#FEF9F7 #FEFDF7 #FBFEF7
triadic
#FEFDF7 #F7FEFD #FDF7FE
tetradic
#FEFDF7 #F7FEF9 #F7F8FE #FEF7FB
square
#FEFDF7 #F7FEF9 #F7F8FE #FEF7FB
split-complementary
#FEFDF7 #F7FBFE #F9F7FE
monochromatic
#F0E28A #F7EFC1 #FCF8E4 #FCF8E4 #FCF8E4

Accessibility & contrast

On white

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

On black

20.61
#FEFDF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFDF7
20.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFDF7#FFFFFF#000000##000000
##FEFDF71.001.0220.6120.61
#FFFFFF1.021.0021.0021.00
#00000020.6121.001.001.00
##00000020.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEFDF7
Deuteranopia (green-blind)
#FFFDF7
Tritanopia (blue-blind)
#FFFCFB
Achromatopsia (no color)
#FDFDFD

Design tokens & code

CSS
--color: #fefdf7;
/* rgb */ color: rgb(254, 253, 247);
/* oklch */ color: oklch(99.3% 0.008 98.9);
Tailwind
colors: {
  custom: {
    50: '#fefef9',
    500: '#fefdf7',
    950: '#000000',
  },
}
SCSS
$custom: #fefdf7;
$custom-light: #fefef9;
$custom-dark: #000000;
JSON
{
  "hex": "#fefdf7",
  "rgb": {
    "r": 254,
    "g": 253,
    "b": 247
  },
  "hsl": {
    "h": 51.429,
    "s": 77.778,
    "l": 98.235
  },
  "oklch": {
    "l": 0.99316,
    "c": 0.00797,
    "h": 98.9
  },
  "luminance": 0.98037
}

Semantic roles & 50–950 ramp

primary
#FEFDF7
secondary
#B1B9E8
accent
#29DA0B
background
#FFFFFF
surface
#FFFFFF
border
#D7D7D7
text
#171717
muted
#858585

Preview Lab

Preview with #FEFDF7

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

Preview Lab → · Contrast checker → · Palette generator →

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