#FAF7DC#FAF7DC

#FAF7DC is a very light, muted yellow. Relative luminance 0.920; OKLCH L 97.1% C 0.035 H 101.8°. Best body text is #000000 at 19.40:1 contrast (WCAG AA passes).

Color values

HEX#FAF7DC
RGBrgb(250, 247, 220)
HSLhsl(54, 75%, 92%)
HSVhsv(54, 12%, 98%)
CMYKcmyk(0%, 1.2%, 12%, 2%)
CIE-LABlab(96.83, -3.46, 13.35)
CIE-LCHlch(96.83, 13.79, 104.54°)
OKLaboklab(97.14% -0.0073 0.0347)
OKLCHoklch(97.14% 0.035 101.8)
XYZxyz(85.6021, 92.0136, 80.9471)
Luminance0.9201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF7DC #DCDFFA
analogous
#FAE8DC #FAF7DC #EEFADC
triadic
#FAF7DC #DCFAF7 #F7DCFA
tetradic
#FAF7DC #DCFAE8 #DCDFFA #FADCEE
square
#FAF7DC #DCFAE8 #DCDFFA #FADCEE
split-complementary
#FAF7DC #DCEEFA #E8DCFA
monochromatic
#EBDF71 #F2EBA6 #FAF7DC #FBF9E4 #FBF9E4

Accessibility & contrast

On white

1.08
#FAF7DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.40
#FAF7DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF7DC
19.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF7DC#FFFFFF#000000##000000
##FAF7DC1.001.0819.4019.40
#FFFFFF1.081.0021.0021.00
#00000019.4021.001.001.00
##00000019.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDF5DA
Deuteranopia (green-blind)
#FEF7DD
Tritanopia (blue-blind)
#FFF3EF
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #faf7dc;
/* rgb */ color: rgb(250, 247, 220);
/* oklch */ color: oklch(97.1% 0.035 101.8);
Tailwind
colors: {
  custom: {
    50: '#fcf9e6',
    500: '#faf7dc',
    950: '#000000',
  },
}
SCSS
$custom: #faf7dc;
$custom-light: #fcf9e6;
$custom-dark: #000000;
JSON
{
  "hex": "#faf7dc",
  "rgb": {
    "r": 250,
    "g": 247,
    "b": 220
  },
  "hsl": {
    "h": 54,
    "s": 75,
    "l": 92.157
  },
  "oklch": {
    "l": 0.97141,
    "c": 0.03542,
    "h": 101.8
  },
  "luminance": 0.92013
}

Semantic roles & 50–950 ramp

primary
#FAF7DC
secondary
#9BA1E0
accent
#22D70E
background
#FFFFFE
surface
#FFFFFC
border
#D7D7D5
text
#171716
muted
#858584

Preview Lab

Preview with #FAF7DC

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

Preview Lab → · Contrast checker → · Palette generator →

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