#FAFEF7#FAFEF7

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

Color values

HEX#FAFEF7
RGBrgb(250, 254, 247)
HSLhsl(94, 78%, 98%)
HSVhsv(94, 3%, 100%)
CMYKcmyk(1.6%, 0%, 2.8%, 0.4%)
CIE-LABlab(99.19, -2.54, 2.88)
CIE-LCHlch(99.19, 3.84, 131.41°)
OKLaboklab(99.21% -0.0067 0.0076)
OKLCHoklch(99.21% 0.01 131.3)
XYZxyz(91.6519, 97.9229, 102.0502)
Luminance0.9792 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFEF7 #FBF7FE
analogous
#FDFEF7 #FAFEF7 #F7FEF7
triadic
#FAFEF7 #F7FAFE #FEF7FA
tetradic
#FAFEF7 #F7FDFE #FBF7FE #FEF7F7
square
#FAFEF7 #F7FDFE #FBF7FE #FEF7F7
split-complementary
#FAFEF7 #F7F7FE #FEF7FD
monochromatic
#B6F08A #D8F7C1 #EEFCE4 #EEFCE4 #EEFCE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FAFEF7#FFFFFF#000000##000000
##FAFEF71.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)
#FFFDF7
Deuteranopia (green-blind)
#FEFDF7
Tritanopia (blue-blind)
#FAFDFC
Achromatopsia (no color)
#FDFDFD

Design tokens & code

CSS
--color: #fafef7;
/* rgb */ color: rgb(250, 254, 247);
/* oklch */ color: oklch(99.2% 0.010 131.3);
Tailwind
colors: {
  custom: {
    50: '#fcfef9',
    500: '#fafef7',
    950: '#000000',
  },
}
SCSS
$custom: #fafef7;
$custom-light: #fcfef9;
$custom-dark: #000000;
JSON
{
  "hex": "#fafef7",
  "rgb": {
    "r": 250,
    "g": 254,
    "b": 247
  },
  "hsl": {
    "h": 94.286,
    "s": 77.778,
    "l": 98.235
  },
  "oklch": {
    "l": 0.99209,
    "c": 0.0101,
    "h": 131.3
  },
  "luminance": 0.97923
}

Semantic roles & 50–950 ramp

primary
#FAFEF7
secondary
#D1B1E8
accent
#0BDA82
background
#FFFFFF
surface
#FFFFFF
border
#D7D7D7
text
#171717
muted
#858585

Preview Lab

Preview with #FAFEF7

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

Preview Lab → · Contrast checker → · Palette generator →

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