#FEFFD8#FEFFD8

#FEFFD8 is a very light, muted yellow. Relative luminance 0.975; OKLCH L 98.9% C 0.050 H 108.5°. Best body text is #000000 at 20.51:1 contrast (WCAG AA passes).

Color values

HEX#FEFFD8
RGBrgb(254, 255, 216)
HSLhsl(62, 100%, 92%)
HSVhsv(62, 15%, 100%)
CMYKcmyk(0.4%, 0%, 15.3%, 0%)
CIE-LABlab(99.04, -6.67, 18.57)
CIE-LCHlch(99.04, 19.73, 109.76°)
OKLaboklab(98.94% -0.016 0.0478)
OKLCHoklch(98.94% 0.05 108.5)
XYZxyz(89.0266, 97.5494, 79.0914)
Luminance0.9755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFFD8 #D9D8FF
analogous
#FFECD8 #FEFFD8 #EBFFD8
triadic
#FEFFD8 #D8FEFF #FFD8FE
tetradic
#FEFFD8 #D8FFEC #D9D8FF #FFD8EB
square
#FEFFD8 #D8FFEC #D9D8FF #FFD8EB
split-complementary
#FEFFD8 #D8EBFF #ECD8FF
monochromatic
#FBFF5E #FCFF9B #FEFFD8 #FEFFE0 #FEFFE0

Accessibility & contrast

On white

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

On black

20.51
#FEFFD8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFFD8
20.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFFD8#FFFFFF#000000##000000
##FEFFD81.001.0220.5120.51
#FFFFFF1.021.0021.0021.00
#00000020.5121.001.001.00
##00000020.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFFBD6
Deuteranopia (green-blind)
#FFFDD9
Tritanopia (blue-blind)
#FFFAF4
Achromatopsia (no color)
#FCFCFC

Design tokens & code

CSS
--color: #feffd8;
/* rgb */ color: rgb(254, 255, 216);
/* oklch */ color: oklch(98.9% 0.050 108.5);
Tailwind
colors: {
  custom: {
    50: '#ffffe4',
    500: '#feffd8',
    950: '#000000',
  },
}
SCSS
$custom: #feffd8;
$custom-light: #ffffe4;
$custom-dark: #000000;
JSON
{
  "hex": "#feffd8",
  "rgb": {
    "r": 254,
    "g": 255,
    "b": 216
  },
  "hsl": {
    "h": 61.538,
    "s": 100,
    "l": 92.353
  },
  "oklch": {
    "l": 0.98938,
    "c": 0.05044,
    "h": 108.5
  },
  "luminance": 0.97549
}

Semantic roles & 50–950 ramp

primary
#FEFFD8
secondary
#9290EB
accent
#00E606
background
#FFFFFE
surface
#FFFFFC
border
#D7D7D5
text
#181815
muted
#868684

Preview Lab

Preview with #FEFFD8

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

Preview Lab → · Contrast checker → · Palette generator →

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