#F8FEF2#F8FEF2

#F8FEF2 is a very light, near-neutral yellow-green. Relative luminance 0.973; OKLCH L 98.9% C 0.017 H 128.7°. Best body text is #000000 at 20.45:1 contrast (WCAG AA passes).

Color values

HEX#F8FEF2
RGBrgb(248, 254, 242)
HSLhsl(90, 86%, 97%)
HSVhsv(90, 5%, 100%)
CMYKcmyk(2.4%, 0%, 4.7%, 0.4%)
CIE-LABlab(98.93, -4.06, 5.04)
CIE-LCHlch(98.93, 6.48, 128.86°)
OKLaboklab(98.93% -0.0106 0.0132)
OKLCHoklch(98.93% 0.017 128.7)
XYZxyz(90.1776, 97.2508, 98.0077)
Luminance0.9725 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FEF2 #F8F2FE
analogous
#FEFEF2 #F8FEF2 #F2FEF2
triadic
#F8FEF2 #F2F8FE #FEF2F8
tetradic
#F8FEF2 #F2FEFE #F8F2FE #FEF2F2
square
#F8FEF2 #F2FEFE #F8F2FE #FEF2F2
split-complementary
#F8FEF2 #F2F2FE #FEF2FE
monochromatic
#BBF580 #D9FAB9 #F0FDE3 #F0FDE3 #F0FDE3

Accessibility & contrast

On white

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

On black

20.45
#F8FEF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FEF2
20.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FEF2#FFFFFF#000000##000000
##F8FEF21.001.0320.4520.45
#FFFFFF1.031.0021.0021.00
#00000020.4521.001.001.00
##00000020.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFFCF1
Deuteranopia (green-blind)
#FEFCF2
Tritanopia (blue-blind)
#F9FDFA
Achromatopsia (no color)
#FCFCFC

Design tokens & code

CSS
--color: #f8fef2;
/* rgb */ color: rgb(248, 254, 242);
/* oklch */ color: oklch(98.9% 0.017 128.7);
Tailwind
colors: {
  custom: {
    50: '#fafef6',
    500: '#f8fef2',
    950: '#000000',
  },
}
SCSS
$custom: #f8fef2;
$custom-light: #fafef6;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fef2",
  "rgb": {
    "r": 248,
    "g": 254,
    "b": 242
  },
  "hsl": {
    "h": 90,
    "s": 85.714,
    "l": 97.255
  },
  "oklch": {
    "l": 0.98926,
    "c": 0.01695,
    "h": 128.7
  },
  "luminance": 0.97251
}

Semantic roles & 50–950 ramp

primary
#F8FEF2
secondary
#CAAAEA
accent
#03E273
background
#FFFFFF
surface
#FFFFFE
border
#D7D7D6
text
#171717
muted
#858585

Preview Lab

Preview with #F8FEF2

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

Preview Lab → · Contrast checker → · Palette generator →

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