#FEFFF8#FEFFF8

#FEFFF8 is a very light, near-neutral yellow. Relative luminance 0.994; OKLCH L 99.7% C 0.009 H 113.1°. Best body text is #000000 at 20.87:1 contrast (WCAG AA passes).

Color values

HEX#FEFFF8
RGBrgb(254, 255, 248)
HSLhsl(69, 100%, 99%)
HSVhsv(69, 3%, 100%)
CMYKcmyk(0.4%, 0%, 2.7%, 0%)
CIE-LABlab(99.76, -1.54, 3.22)
CIE-LCHlch(99.76, 3.57, 115.57°)
OKLaboklab(99.73% -0.0036 0.0085)
OKLCHoklch(99.73% 0.009 113.1)
XYZxyz(93.5737, 99.3682, 103.0391)
Luminance0.9937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFFF8 #F9F8FF
analogous
#FFFCF8 #FEFFF8 #FAFFF8
triadic
#FEFFF8 #F8FEFF #FFF8FE
tetradic
#FEFFF8 #F8FFFC #F9F8FF #FFF8FA
square
#FEFFF8 #F8FFFC #F9F8FF #FFF8FA
split-complementary
#FEFFF8 #F8FAFF #FCF8FF
monochromatic
#EDFF7E #F5FFBB #FBFFE0 #FBFFE0 #FBFFE0

Accessibility & contrast

On white

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

On black

20.87
#FEFFF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFFF8
20.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFFF8#FFFFFF#000000##000000
##FEFFF81.001.0120.8720.87
#FFFFFF1.011.0021.0021.00
#00000020.8721.001.001.00
##00000020.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFFEF8
Deuteranopia (green-blind)
#FFFEF8
Tritanopia (blue-blind)
#FFFEFD
Achromatopsia (no color)
#FEFEFE

Design tokens & code

CSS
--color: #fefff8;
/* rgb */ color: rgb(254, 255, 248);
/* oklch */ color: oklch(99.7% 0.009 113.1);
Tailwind
colors: {
  custom: {
    50: '#fefffa',
    500: '#fefff8',
    950: '#000000',
  },
}
SCSS
$custom: #fefff8;
$custom-light: #fefffa;
$custom-dark: #000000;
JSON
{
  "hex": "#fefff8",
  "rgb": {
    "r": 254,
    "g": 255,
    "b": 248
  },
  "hsl": {
    "h": 68.571,
    "s": 100,
    "l": 98.627
  },
  "oklch": {
    "l": 0.99733,
    "c": 0.00923,
    "h": 113.1
  },
  "luminance": 0.99368
}

Semantic roles & 50–950 ramp

primary
#FEFFF8
secondary
#B5ABF0
accent
#00E621
background
#FFFFFF
surface
#FFFFFF
border
#D7D7D7
text
#171817
muted
#858685

Preview Lab

Preview with #FEFFF8

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

Preview Lab → · Contrast checker → · Palette generator →

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