#F8FFF4#F8FFF4

#F8FFF4 is a very light, near-neutral yellow-green. Relative luminance 0.980; OKLCH L 99.2% C 0.016 H 133.8°. Best body text is #000000 at 20.60:1 contrast (WCAG AA passes).

Color values

HEX#F8FFF4
RGBrgb(248, 255, 244)
HSLhsl(98, 100%, 98%)
HSVhsv(98, 4%, 100%)
CMYKcmyk(2.7%, 0%, 4.3%, 0%)
CIE-LABlab(99.22, -4.22, 4.45)
CIE-LCHlch(99.22, 6.13, 133.51°)
OKLaboklab(99.18% -0.0112 0.0117)
OKLCHoklch(99.18% 0.016 133.8)
XYZxyz(90.7978, 98.0079, 99.7044)
Luminance0.9801 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FFF4 #FBF4FF
analogous
#FDFFF4 #F8FFF4 #F4FFF5
triadic
#F8FFF4 #F4F8FF #FFF4F8
tetradic
#F8FFF4 #F4FDFF #FBF4FF #FFF5F4
square
#F8FFF4 #F4FDFF #FBF4FF #FFF5F4
split-complementary
#F8FFF4 #F5F4FF #FFF4FD
monochromatic
#AAFF7A #D1FFB7 #ECFFE0 #ECFFE0 #ECFFE0

Accessibility & contrast

On white

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

On black

20.60
#F8FFF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FFF4
20.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FFF4#FFFFFF#000000##000000
##F8FFF41.001.0220.6020.60
#FFFFFF1.021.0021.0021.00
#00000020.6021.001.001.00
##00000020.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFFDF3
Deuteranopia (green-blind)
#FFFDF4
Tritanopia (blue-blind)
#F8FEFC
Achromatopsia (no color)
#FDFDFD

Design tokens & code

CSS
--color: #f8fff4;
/* rgb */ color: rgb(248, 255, 244);
/* oklch */ color: oklch(99.2% 0.016 133.8);
Tailwind
colors: {
  custom: {
    50: '#fafff7',
    500: '#f8fff4',
    950: '#000000',
  },
}
SCSS
$custom: #f8fff4;
$custom-light: #fafff7;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fff4",
  "rgb": {
    "r": 248,
    "g": 255,
    "b": 244
  },
  "hsl": {
    "h": 98.182,
    "s": 100,
    "l": 97.843
  },
  "oklch": {
    "l": 0.99176,
    "c": 0.01618,
    "h": 133.8
  },
  "luminance": 0.98008
}

Semantic roles & 50–950 ramp

primary
#F8FFF4
secondary
#D5A8F0
accent
#00E692
background
#FFFFFF
surface
#FFFFFE
border
#D7D7D6
text
#171817
muted
#858685

Preview Lab

Preview with #F8FFF4

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

Preview Lab → · Contrast checker → · Palette generator →

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