#FAF8DC#FAF8DC

#FAF8DC is a very light, muted yellow. Relative luminance 0.926; OKLCH L 97.3% C 0.037 H 103.7°. Best body text is #000000 at 19.53:1 contrast (WCAG AA passes).

Color values

HEX#FAF8DC
RGBrgb(250, 248, 220)
HSLhsl(56, 75%, 92%)
HSVhsv(56, 12%, 98%)
CMYKcmyk(0%, 0.8%, 12%, 2%)
CIE-LABlab(97.08, -3.96, 13.70)
CIE-LCHlch(97.08, 14.26, 106.13°)
OKLaboklab(97.34% -0.0087 0.0356)
OKLCHoklch(97.34% 0.037 103.7)
XYZxyz(85.9087, 92.6268, 81.0493)
Luminance0.9263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF8DC #DCDEFA
analogous
#FAE9DC #FAF8DC #EDFADC
triadic
#FAF8DC #DCFAF8 #F8DCFA
tetradic
#FAF8DC #DCFAE9 #DCDEFA #FADCED
square
#FAF8DC #DCFAE9 #DCDEFA #FADCED
split-complementary
#FAF8DC #DCEDFA #E9DCFA
monochromatic
#EBE371 #F2EDA6 #FAF8DC #FBFAE4 #FBFAE4

Accessibility & contrast

On white

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

On black

19.53
#FAF8DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF8DC
19.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF8DC#FFFFFF#000000##000000
##FAF8DC1.001.0819.5319.53
#FFFFFF1.081.0021.0021.00
#00000019.5321.001.001.00
##00000019.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEF6DA
Deuteranopia (green-blind)
#FFF7DD
Tritanopia (blue-blind)
#FFF4F0
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #faf8dc;
/* rgb */ color: rgb(250, 248, 220);
/* oklch */ color: oklch(97.3% 0.037 103.7);
Tailwind
colors: {
  custom: {
    50: '#fcfae6',
    500: '#faf8dc',
    950: '#000000',
  },
}
SCSS
$custom: #faf8dc;
$custom-light: #fcfae6;
$custom-dark: #000000;
JSON
{
  "hex": "#faf8dc",
  "rgb": {
    "r": 250,
    "g": 248,
    "b": 220
  },
  "hsl": {
    "h": 56,
    "s": 75,
    "l": 92.157
  },
  "oklch": {
    "l": 0.97338,
    "c": 0.03661,
    "h": 103.7
  },
  "luminance": 0.92626
}

Semantic roles & 50–950 ramp

primary
#FAF8DC
secondary
#9B9FE0
accent
#1CD70E
background
#FFFFFE
surface
#FFFFFC
border
#D7D7D5
text
#171716
muted
#858584

Preview Lab

Preview with #FAF8DC

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

Preview Lab → · Contrast checker → · Palette generator →

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