#F8F2D2#F8F2D2

#F8F2D2 is a very light, muted yellow. Relative luminance 0.881; OKLCH L 95.8% C 0.042 H 98.4°. Best body text is #000000 at 18.62:1 contrast (WCAG AA passes).

Color values

HEX#F8F2D2
RGBrgb(248, 242, 210)
HSLhsl(51, 73%, 90%)
HSVhsv(51, 15%, 97%)
CMYKcmyk(0%, 2.4%, 15.3%, 2.7%)
CIE-LABlab(95.21, -3.18, 16.18)
CIE-LCHlch(95.21, 16.49, 101.11°)
OKLaboklab(95.76% -0.0062 0.0418)
OKLCHoklch(95.76% 0.042 98.4)
XYZxyz(82.0955, 88.1149, 73.6433)
Luminance0.8811 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F2D2 #D2D8F8
analogous
#F8DFD2 #F8F2D2 #EBF8D2
triadic
#F8F2D2 #D2F8F2 #F2D2F8
tetradic
#F8F2D2 #D2F8DF #D2D8F8 #F8D2EB
square
#F8F2D2 #D2F8DF #D2D8F8 #F8D2EB
split-complementary
#F8F2D2 #D2EBF8 #DFD2F8
monochromatic
#E8D368 #F0E39D #F8F2D2 #FBF7E5 #FBF7E5

Accessibility & contrast

On white

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

On black

18.62
#F8F2D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F2D2
18.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F2D2#FFFFFF#000000##000000
##F8F2D21.001.1318.6218.62
#FFFFFF1.131.0021.0021.00
#00000018.6221.001.001.00
##00000018.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9F0D0
Deuteranopia (green-blind)
#FBF2D3
Tritanopia (blue-blind)
#FEEDE9
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f8f2d2;
/* rgb */ color: rgb(248, 242, 210);
/* oklch */ color: oklch(95.8% 0.042 98.4);
Tailwind
colors: {
  custom: {
    50: '#faf6df',
    500: '#f8f2d2',
    950: '#000000',
  },
}
SCSS
$custom: #f8f2d2;
$custom-light: #faf6df;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f2d2",
  "rgb": {
    "r": 248,
    "g": 242,
    "b": 210
  },
  "hsl": {
    "h": 50.526,
    "s": 73.077,
    "l": 89.804
  },
  "oklch": {
    "l": 0.95759,
    "c": 0.04228,
    "h": 98.4
  },
  "luminance": 0.88114
}

Semantic roles & 50–950 ramp

primary
#F8F2D2
secondary
#929EDC
accent
#2FD510
background
#FFFFFE
surface
#FFFEFC
border
#D7D6D5
text
#171715
muted
#858584

Preview Lab

Preview with #F8F2D2

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

Preview Lab → · Contrast checker → · Palette generator →

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