#F8F2D6#F8F2D6

#F8F2D6 is a very light, muted yellow. Relative luminance 0.883; OKLCH L 95.9% C 0.037 H 97.1°. Best body text is #000000 at 18.66:1 contrast (WCAG AA passes).

Color values

HEX#F8F2D6
RGBrgb(248, 242, 214)
HSLhsl(49, 71%, 91%)
HSVhsv(49, 14%, 97%)
CMYKcmyk(0%, 2.4%, 13.7%, 2.7%)
CIE-LABlab(95.29, -2.57, 14.24)
CIE-LCHlch(95.29, 14.47, 100.23°)
OKLaboklab(95.85% -0.0046 0.0369)
OKLCHoklch(95.85% 0.037 97.1)
XYZxyz(82.6001, 88.3167, 76.3007)
Luminance0.8832 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F2D6 #D6DCF8
analogous
#F8E1D6 #F8F2D6 #EDF8D6
triadic
#F8F2D6 #D6F8F2 #F2D6F8
tetradic
#F8F2D6 #D6F8E1 #D6DCF8 #F8D6ED
square
#F8F2D6 #D6F8E1 #D6DCF8 #F8D6ED
split-complementary
#F8F2D6 #D6EDF8 #E1D6F8
monochromatic
#E6D16D #EFE1A2 #F8F2D6 #FBF7E5 #FBF7E5

Accessibility & contrast

On white

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

On black

18.66
#F8F2D6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F2D6
18.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F2D6#FFFFFF#000000##000000
##F8F2D61.001.1318.6618.66
#FFFFFF1.131.0021.0021.00
#00000018.6621.001.001.00
##00000018.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8F0D4
Deuteranopia (green-blind)
#FAF2D7
Tritanopia (blue-blind)
#FEEEEA
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f8f2d6;
/* rgb */ color: rgb(248, 242, 214);
/* oklch */ color: oklch(95.9% 0.037 97.1);
Tailwind
colors: {
  custom: {
    50: '#faf6e2',
    500: '#f8f2d6',
    950: '#000000',
  },
}
SCSS
$custom: #f8f2d6;
$custom-light: #faf6e2;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f2d6",
  "rgb": {
    "r": 248,
    "g": 242,
    "b": 214
  },
  "hsl": {
    "h": 49.412,
    "s": 70.833,
    "l": 90.588
  },
  "oklch": {
    "l": 0.95854,
    "c": 0.03722,
    "h": 97.1
  },
  "luminance": 0.88316
}

Semantic roles & 50–950 ramp

primary
#F8F2D6
secondary
#96A3DC
accent
#35D313
background
#FFFFFE
surface
#FFFEFC
border
#D7D6D5
text
#171715
muted
#858584

Preview Lab

Preview with #F8F2D6

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

Preview Lab → · Contrast checker → · Palette generator →

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