#FAF7DF#FAF7DF

#FAF7DF is a very light, muted yellow. Relative luminance 0.922; OKLCH L 97.2% C 0.032 H 101.1°. Best body text is #000000 at 19.43:1 contrast (WCAG AA passes).

Color values

HEX#FAF7DF
RGBrgb(250, 247, 223)
HSLhsl(53, 73%, 93%)
HSVhsv(53, 11%, 98%)
CMYKcmyk(0%, 1.2%, 10.8%, 2%)
CIE-LABlab(96.89, -2.99, 11.90)
CIE-LCHlch(96.89, 12.27, 104.11°)
OKLaboklab(97.21% -0.0061 0.031)
OKLCHoklch(97.21% 0.032 101.1)
XYZxyz(86.0029, 92.1739, 83.0584)
Luminance0.9217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF7DF #DFE2FA
analogous
#FAE9DF #FAF7DF #EFFADF
triadic
#FAF7DF #DFFAF7 #F7DFFA
tetradic
#FAF7DF #DFFAE9 #DFE2FA #FADFEF
square
#FAF7DF #DFFAE9 #DFE2FA #FADFEF
split-complementary
#FAF7DF #DFEFFA #E9DFFA
monochromatic
#E9DD75 #F2EAAA #FAF7DF #FBF8E5 #FBF8E5

Accessibility & contrast

On white

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

On black

19.43
#FAF7DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF7DF
19.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF7DF#FFFFFF#000000##000000
##FAF7DF1.001.0819.4319.43
#FFFFFF1.081.0021.0021.00
#00000019.4321.001.001.00
##00000019.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCF5DE
Deuteranopia (green-blind)
#FDF7E0
Tritanopia (blue-blind)
#FFF3F0
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #faf7df;
/* rgb */ color: rgb(250, 247, 223);
/* oklch */ color: oklch(97.2% 0.032 101.1);
Tailwind
colors: {
  custom: {
    50: '#fcf9e9',
    500: '#faf7df',
    950: '#000000',
  },
}
SCSS
$custom: #faf7df;
$custom-light: #fcf9e9;
$custom-dark: #000000;
JSON
{
  "hex": "#faf7df",
  "rgb": {
    "r": 250,
    "g": 247,
    "b": 223
  },
  "hsl": {
    "h": 53.333,
    "s": 72.973,
    "l": 92.745
  },
  "oklch": {
    "l": 0.97214,
    "c": 0.03157,
    "h": 101.1
  },
  "luminance": 0.92173
}

Semantic roles & 50–950 ramp

primary
#FAF7DF
secondary
#9EA5DF
accent
#26D510
background
#FFFFFE
surface
#FFFFFC
border
#D7D7D5
text
#171716
muted
#858584

Preview Lab

Preview with #FAF7DF

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

Preview Lab → · Contrast checker → · Palette generator →

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