#F8FFE2#F8FFE2

#F8FFE2 is a very light, muted yellow-green. Relative luminance 0.970; OKLCH L 98.7% C 0.039 H 118.1°. Best body text is #000000 at 20.39:1 contrast (WCAG AA passes).

Color values

HEX#F8FFE2
RGBrgb(248, 255, 226)
HSLhsl(74, 100%, 94%)
HSVhsv(74, 11%, 100%)
CMYKcmyk(2.7%, 0%, 11.4%, 0%)
CIE-LABlab(98.82, -7.21, 13.08)
CIE-LCHlch(98.82, 14.93, 118.85°)
OKLaboklab(98.72% -0.0182 0.034)
OKLCHoklch(98.72% 0.039 118.1)
XYZxyz(88.1970, 96.9676, 86.0070)
Luminance0.9697 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FFE2 #E9E2FF
analogous
#FFF8E2 #F8FFE2 #EAFFE2
triadic
#F8FFE2 #E2F8FF #FFE2F8
tetradic
#F8FFE2 #E2FFF8 #E9E2FF #FFE2EA
square
#F8FFE2 #E2FFF8 #E9E2FF #FFE2EA
split-complementary
#F8FFE2 #E2EAFF #F8E2FF
monochromatic
#DAFF68 #E9FFA5 #F8FFE0 #F8FFE0 #F8FFE0

Accessibility & contrast

On white

1.03
#F8FFE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

20.39
#F8FFE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FFE2
20.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FFE2#FFFFFF#000000##000000
##F8FFE21.001.0320.3920.39
#FFFFFF1.031.0021.0021.00
#00000020.3921.001.001.00
##00000020.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFFCE0
Deuteranopia (green-blind)
#FFFCE3
Tritanopia (blue-blind)
#FBFCF7
Achromatopsia (no color)
#FCFCFC

Design tokens & code

CSS
--color: #f8ffe2;
/* rgb */ color: rgb(248, 255, 226);
/* oklch */ color: oklch(98.7% 0.039 118.1);
Tailwind
colors: {
  custom: {
    50: '#faffeb',
    500: '#f8ffe2',
    950: '#000000',
  },
}
SCSS
$custom: #f8ffe2;
$custom-light: #faffeb;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ffe2",
  "rgb": {
    "r": 248,
    "g": 255,
    "b": 226
  },
  "hsl": {
    "h": 74.483,
    "s": 100,
    "l": 94.314
  },
  "oklch": {
    "l": 0.98718,
    "c": 0.03852,
    "h": 118.1
  },
  "luminance": 0.96967
}

Semantic roles & 50–950 ramp

primary
#F8FFE2
secondary
#AD98ED
accent
#00E637
background
#FFFFFE
surface
#FFFFFD
border
#D7D7D5
text
#171816
muted
#858684

Preview Lab

Preview with #F8FFE2

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

Preview Lab → · Contrast checker → · Palette generator →

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