#F8FFE4#F8FFE4

#F8FFE4 is a very light, muted yellow-green. Relative luminance 0.971; OKLCH L 98.8% C 0.036 H 118.9°. Best body text is #000000 at 20.42:1 contrast (WCAG AA passes).

Color values

HEX#F8FFE4
RGBrgb(248, 255, 228)
HSLhsl(76, 100%, 95%)
HSVhsv(76, 11%, 100%)
CMYKcmyk(2.7%, 0%, 10.6%, 0%)
CIE-LABlab(98.86, -6.89, 12.12)
CIE-LCHlch(98.86, 13.94, 119.61°)
OKLaboklab(98.77% -0.0174 0.0315)
OKLCHoklch(98.77% 0.036 118.9)
XYZxyz(88.4730, 97.0780, 87.4607)
Luminance0.9708 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FFE4 #EBE4FF
analogous
#FFF9E4 #F8FFE4 #EBFFE4
triadic
#F8FFE4 #E4F8FF #FFE4F8
tetradic
#F8FFE4 #E4FFF9 #EBE4FF #FFE4EB
square
#F8FFE4 #E4FFF9 #EBE4FF #FFE4EB
split-complementary
#F8FFE4 #E4EBFF #F9E4FF
monochromatic
#D8FF6A #E8FFA7 #F7FFE0 #F7FFE0 #F7FFE0

Accessibility & contrast

On white

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

On black

20.42
#F8FFE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FFE4
20.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FFE4#FFFFFF#000000##000000
##F8FFE41.001.0320.4220.42
#FFFFFF1.031.0021.0021.00
#00000020.4221.001.001.00
##00000020.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8ffe4;
/* rgb */ color: rgb(248, 255, 228);
/* oklch */ color: oklch(98.8% 0.036 118.9);
Tailwind
colors: {
  custom: {
    50: '#faffec',
    500: '#f8ffe4',
    950: '#000000',
  },
}
SCSS
$custom: #f8ffe4;
$custom-light: #faffec;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ffe4",
  "rgb": {
    "r": 248,
    "g": 255,
    "b": 228
  },
  "hsl": {
    "h": 75.556,
    "s": 100,
    "l": 94.706
  },
  "oklch": {
    "l": 0.98767,
    "c": 0.036,
    "h": 118.9
  },
  "luminance": 0.97078
}

Semantic roles & 50–950 ramp

primary
#F8FFE4
secondary
#B09AED
accent
#00E63C
background
#FFFFFE
surface
#FFFFFD
border
#D7D7D5
text
#171816
muted
#858684

Preview Lab

Preview with #F8FFE4

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

Preview Lab → · Contrast checker → · Palette generator →

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