#FAF2D4#FAF2D4

#FAF2D4 is a very light, muted yellow. Relative luminance 0.886; OKLCH L 96.0% C 0.040 H 94.7°. Best body text is #000000 at 18.72:1 contrast (WCAG AA passes).

Color values

HEX#FAF2D4
RGBrgb(250, 242, 212)
HSLhsl(47, 79%, 91%)
HSVhsv(47, 15%, 98%)
CMYKcmyk(0%, 3.2%, 15.2%, 2%)
CIE-LABlab(95.41, -2.17, 15.45)
CIE-LCHlch(95.41, 15.60, 97.99°)
OKLaboklab(95.97% -0.0033 0.04)
OKLCHoklch(95.97% 0.04 94.7)
XYZxyz(83.0593, 88.5828, 74.9972)
Luminance0.8858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF2D4 #D4DCFA
analogous
#FADFD4 #FAF2D4 #EFFAD4
triadic
#FAF2D4 #D4FAF2 #F2D4FA
tetradic
#FAF2D4 #D4FADF #D4DCFA #FAD4EF
square
#FAF2D4 #D4FADF #D4DCFA #FAD4EF
split-complementary
#FAF2D4 #D4EFFA #DFD4FA
monochromatic
#EDD166 #F4E19D #FAF2D4 #FCF7E4 #FCF7E4

Accessibility & contrast

On white

1.12
#FAF2D4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.72
#FAF2D4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF2D4
18.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF2D4#FFFFFF#000000##000000
##FAF2D41.001.1218.7218.72
#FFFFFF1.121.0021.0021.00
#00000018.7221.001.001.00
##00000018.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9F0D2
Deuteranopia (green-blind)
#FBF3D5
Tritanopia (blue-blind)
#FFEDE9
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #faf2d4;
/* rgb */ color: rgb(250, 242, 212);
/* oklch */ color: oklch(96.0% 0.040 94.7);
Tailwind
colors: {
  custom: {
    50: '#fcf6e1',
    500: '#faf2d4',
    950: '#000000',
  },
}
SCSS
$custom: #faf2d4;
$custom-light: #fcf6e1;
$custom-dark: #000000;
JSON
{
  "hex": "#faf2d4",
  "rgb": {
    "r": 250,
    "g": 242,
    "b": 212
  },
  "hsl": {
    "h": 47.368,
    "s": 79.167,
    "l": 90.588
  },
  "oklch": {
    "l": 0.95965,
    "c": 0.04014,
    "h": 94.7
  },
  "luminance": 0.88582
}

Semantic roles & 50–950 ramp

primary
#FAF2D4
secondary
#92A3E0
accent
#36DB0A
background
#FFFFFE
surface
#FFFEFC
border
#D7D6D5
text
#171715
muted
#858584

Preview Lab

Preview with #FAF2D4

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

Preview Lab → · Contrast checker → · Palette generator →

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