#FAF8F2#FAF8F2

#FAF8F2 is a very light, near-neutral yellow. Relative luminance 0.939; OKLCH L 97.9% C 0.008 H 91.5°. Best body text is #000000 at 19.77:1 contrast (WCAG AA passes).

Color values

HEX#FAF8F2
RGBrgb(250, 248, 242)
HSLhsl(45, 44%, 96%)
HSVhsv(45, 3%, 98%)
CMYKcmyk(0%, 0.8%, 3.2%, 2%)
CIE-LABlab(97.58, -0.37, 3.11)
CIE-LCHlch(97.58, 3.13, 96.85°)
OKLaboklab(97.9% -0.0002 0.0082)
OKLCHoklch(97.9% 0.008 91.5)
XYZxyz(89.0164, 93.8699, 97.4164)
Luminance0.9387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF8F2 #F2F4FA
analogous
#FAF4F2 #FAF8F2 #F8FAF2
triadic
#FAF8F2 #F2FAF8 #F8F2FA
tetradic
#FAF8F2 #F2FAF4 #F2F4FA #FAF2F8
square
#FAF8F2 #F2FAF4 #F2F4FA #FAF2F8
split-complementary
#FAF8F2 #F2F8FA #F4F2FA
monochromatic
#D8C89A #E9E0C6 #F6F3E9 #F6F3E9 #F6F3E9

Accessibility & contrast

On white

1.06
#FAF8F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.77
#FAF8F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF8F2
19.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF8F2#FFFFFF#000000##000000
##FAF8F21.001.0619.7719.77
#FFFFFF1.061.0021.0021.00
#00000019.7721.001.001.00
##00000019.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAF8F2
Deuteranopia (green-blind)
#FAF8F2
Tritanopia (blue-blind)
#FCF7F6
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #faf8f2;
/* rgb */ color: rgb(250, 248, 242);
/* oklch */ color: oklch(97.9% 0.008 91.5);
Tailwind
colors: {
  custom: {
    50: '#fcfaf6',
    500: '#faf8f2',
    950: '#000000',
  },
}
SCSS
$custom: #faf8f2;
$custom-light: #fcfaf6;
$custom-dark: #000000;
JSON
{
  "hex": "#faf8f2",
  "rgb": {
    "r": 250,
    "g": 248,
    "b": 242
  },
  "hsl": {
    "h": 45,
    "s": 44.444,
    "l": 96.471
  },
  "oklch": {
    "l": 0.97901,
    "c": 0.00821,
    "h": 91.5
  },
  "luminance": 0.9387
}

Semantic roles & 50–950 ramp

primary
#FAF8F2
secondary
#B7C0D9
accent
#50B82E
background
#FFFFFF
surface
#FFFFFE
border
#D7D7D6
text
#171717
muted
#858585

Preview Lab

Preview with #FAF8F2

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

Preview Lab → · Contrast checker → · Palette generator →

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