#FAF2CD#FAF2CD

#FAF2CD is a very light, muted yellow. Relative luminance 0.882; OKLCH L 95.8% C 0.049 H 97.1°. Best body text is #000000 at 18.65:1 contrast (WCAG AA passes).

Color values

HEX#FAF2CD
RGBrgb(250, 242, 205)
HSLhsl(49, 82%, 89%)
HSVhsv(49, 18%, 98%)
CMYKcmyk(0%, 3.2%, 18%, 2%)
CIE-LABlab(95.26, -3.21, 18.85)
CIE-LCHlch(95.26, 19.12, 99.66°)
OKLaboklab(95.8% -0.006 0.0485)
OKLCHoklch(95.8% 0.049 97.1)
XYZxyz(82.1954, 88.2372, 70.4472)
Luminance0.8824 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAF2CD #CDD5FA
analogous
#FADCCD #FAF2CD #ECFACD
triadic
#FAF2CD #CDFAF2 #F2CDFA
tetradic
#FAF2CD #CDFADC #CDD5FA #FACDEC
square
#FAF2CD #CDFADC #CDD5FA #FACDEC
split-complementary
#FAF2CD #CDECFA #DCCDFA
monochromatic
#EFD55E #F4E495 #FAF2CD #FCF8E3 #FCF8E3

Accessibility & contrast

On white

1.13
#FAF2CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.65
#FAF2CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAF2CD
18.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAF2CD#FFFFFF#000000##000000
##FAF2CD1.001.1318.6518.65
#FFFFFF1.131.0021.0021.00
#00000018.6521.001.001.00
##00000018.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAF0CB
Deuteranopia (green-blind)
#FCF3CE
Tritanopia (blue-blind)
#FFECE8
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #faf2cd;
/* rgb */ color: rgb(250, 242, 205);
/* oklch */ color: oklch(95.8% 0.049 97.1);
Tailwind
colors: {
  custom: {
    50: '#fcf6dc',
    500: '#faf2cd',
    950: '#000000',
  },
}
SCSS
$custom: #faf2cd;
$custom-light: #fcf6dc;
$custom-dark: #000000;
JSON
{
  "hex": "#faf2cd",
  "rgb": {
    "r": 250,
    "g": 242,
    "b": 205
  },
  "hsl": {
    "h": 49.333,
    "s": 81.818,
    "l": 89.216
  },
  "oklch": {
    "l": 0.95803,
    "c": 0.04888,
    "h": 97.1
  },
  "luminance": 0.88236
}

Semantic roles & 50–950 ramp

primary
#FAF2CD
secondary
#8C9BE0
accent
#2EDE07
background
#FFFFFE
surface
#FFFEFC
border
#D7D6D5
text
#171715
muted
#858584

Preview Lab

Preview with #FAF2CD

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

Preview Lab → · Contrast checker → · Palette generator →

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