#F8FAF2#F8FAF2

#F8FAF2 is a very light, near-neutral yellow-green. Relative luminance 0.947; OKLCH L 98.1% C 0.011 H 118.0°. Best body text is #000000 at 19.95:1 contrast (WCAG AA passes).

Color values

HEX#F8FAF2
RGBrgb(248, 250, 242)
HSLhsl(75, 44%, 96%)
HSVhsv(75, 3%, 98%)
CMYKcmyk(0.8%, 0%, 3.2%, 2%)
CIE-LABlab(97.93, -2.05, 3.60)
CIE-LCHlch(97.93, 4.14, 119.71°)
OKLaboklab(98.14% -0.005 0.0095)
OKLCHoklch(98.14% 0.011 118)
XYZxyz(88.9215, 94.7385, 97.5890)
Luminance0.9474 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FAF2 #F4F2FA
analogous
#FAF8F2 #F8FAF2 #F4FAF2
triadic
#F8FAF2 #F2F8FA #FAF2F8
tetradic
#F8FAF2 #F2FAF8 #F4F2FA #FAF2F4
square
#F8FAF2 #F2FAF8 #F4F2FA #FAF2F4
split-complementary
#F8FAF2 #F2F4FA #F8F2FA
monochromatic
#C8D89A #E0E9C6 #F3F6E9 #F3F6E9 #F3F6E9

Accessibility & contrast

On white

1.05
#F8FAF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.95
#F8FAF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FAF2
19.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FAF2#FFFFFF#000000##000000
##F8FAF21.001.0519.9519.95
#FFFFFF1.051.0021.0021.00
#00000019.9521.001.001.00
##00000019.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBF9F2
Deuteranopia (green-blind)
#FBF9F2
Tritanopia (blue-blind)
#F9F9F8
Achromatopsia (no color)
#F9F9F9

Design tokens & code

CSS
--color: #f8faf2;
/* rgb */ color: rgb(248, 250, 242);
/* oklch */ color: oklch(98.1% 0.011 118.0);
Tailwind
colors: {
  custom: {
    50: '#fafbf6',
    500: '#f8faf2',
    950: '#000000',
  },
}
SCSS
$custom: #f8faf2;
$custom-light: #fafbf6;
$custom-dark: #000000;
JSON
{
  "hex": "#f8faf2",
  "rgb": {
    "r": 248,
    "g": 250,
    "b": 242
  },
  "hsl": {
    "h": 75,
    "s": 44.444,
    "l": 96.471
  },
  "oklch": {
    "l": 0.98139,
    "c": 0.01073,
    "h": 118
  },
  "luminance": 0.94738
}

Semantic roles & 50–950 ramp

primary
#F8FAF2
secondary
#C0B7D9
accent
#2EB850
background
#FFFFFF
surface
#FFFFFE
border
#D7D7D6
text
#171717
muted
#858585

Preview Lab

Preview with #F8FAF2

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

Preview Lab → · Contrast checker → · Palette generator →

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