#F8FFF2#F8FFF2

#F8FFF2 is a very light, near-neutral yellow-green. Relative luminance 0.979; OKLCH L 99.1% C 0.019 H 130.2°. Best body text is #000000 at 20.58:1 contrast (WCAG AA passes).

Color values

HEX#F8FFF2
RGBrgb(248, 255, 242)
HSLhsl(92, 100%, 97%)
HSVhsv(92, 5%, 100%)
CMYKcmyk(2.7%, 0%, 5.1%, 0%)
CIE-LABlab(99.18, -4.56, 5.41)
CIE-LCHlch(99.18, 7.08, 130.18°)
OKLaboklab(99.12% -0.012 0.0142)
OKLCHoklch(99.12% 0.019 130.2)
XYZxyz(90.4958, 97.8871, 98.1137)
Luminance0.9789 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FFF2 #F9F2FF
analogous
#FEFFF2 #F8FFF2 #F2FFF3
triadic
#F8FFF2 #F2F8FF #FFF2F8
tetradic
#F8FFF2 #F2FEFF #F9F2FF #FFF3F2
square
#F8FFF2 #F2FEFF #F9F2FF #FFF3F2
split-complementary
#F8FFF2 #F3F2FF #FFF2FE
monochromatic
#B6FF78 #D7FFB5 #EFFFE0 #EFFFE0 #EFFFE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8FFF2#FFFFFF#000000##000000
##F8FFF21.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)
#FFFDF1
Deuteranopia (green-blind)
#FFFCF3
Tritanopia (blue-blind)
#F9FEFB
Achromatopsia (no color)
#FDFDFD

Design tokens & code

CSS
--color: #f8fff2;
/* rgb */ color: rgb(248, 255, 242);
/* oklch */ color: oklch(99.1% 0.019 130.2);
Tailwind
colors: {
  custom: {
    50: '#fafff6',
    500: '#f8fff2',
    950: '#000000',
  },
}
SCSS
$custom: #f8fff2;
$custom-light: #fafff6;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fff2",
  "rgb": {
    "r": 248,
    "g": 255,
    "b": 242
  },
  "hsl": {
    "h": 92.308,
    "s": 100,
    "l": 97.451
  },
  "oklch": {
    "l": 0.99123,
    "c": 0.01856,
    "h": 130.2
  },
  "luminance": 0.97887
}

Semantic roles & 50–950 ramp

primary
#F8FFF2
secondary
#CDA6EF
accent
#00E67C
background
#FFFFFF
surface
#FFFFFE
border
#D7D7D6
text
#171817
muted
#858685

Preview Lab

Preview with #F8FFF2

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

Preview Lab → · Contrast checker → · Palette generator →

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