#FFF8D2#FFF8D2

#FFF8D2 is a very light, muted yellow. Relative luminance 0.930; OKLCH L 97.5% C 0.050 H 98.6°. Best body text is #000000 at 19.61:1 contrast (WCAG AA passes).

Color values

HEX#FFF8D2
RGBrgb(255, 248, 210)
HSLhsl(51, 100%, 91%)
HSVhsv(51, 18%, 100%)
CMYKcmyk(0%, 2.7%, 17.6%, 0%)
CIE-LABlab(97.25, -3.71, 19.12)
CIE-LCHlch(97.25, 19.48, 100.98°)
OKLaboklab(97.5% -0.0074 0.0492)
OKLCHoklch(97.5% 0.05 98.6)
XYZxyz(86.4396, 93.0491, 74.3669)
Luminance0.9305 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF8D2 #D2D9FF
analogous
#FFE1D2 #FFF8D2 #EFFFD2
triadic
#FFF8D2 #D2FFF8 #F8D2FF
tetradic
#FFF8D2 #D2FFE1 #D2D9FF #FFD2EF
square
#FFF8D2 #D2FFE1 #D2D9FF #FFD2EF
split-complementary
#FFF8D2 #D2EFFF #E1D2FF
monochromatic
#FFE558 #FFEE95 #FFF8D2 #FFFAE0 #FFFAE0

Accessibility & contrast

On white

1.07
#FFF8D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.61
#FFF8D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF8D2
19.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF8D2#FFFFFF#000000##000000
##FFF8D21.001.0719.6119.61
#FFFFFF1.071.0021.0021.00
#00000019.6121.001.001.00
##00000019.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF5D0
Deuteranopia (green-blind)
#FFF8D3
Tritanopia (blue-blind)
#FFF2ED
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fff8d2;
/* rgb */ color: rgb(255, 248, 210);
/* oklch */ color: oklch(97.5% 0.050 98.6);
Tailwind
colors: {
  custom: {
    50: '#fffadf',
    500: '#fff8d2',
    950: '#000000',
  },
}
SCSS
$custom: #fff8d2;
$custom-light: #fffadf;
$custom-dark: #000000;
JSON
{
  "hex": "#fff8d2",
  "rgb": {
    "r": 255,
    "g": 248,
    "b": 210
  },
  "hsl": {
    "h": 50.667,
    "s": 100,
    "l": 91.176
  },
  "oklch": {
    "l": 0.97497,
    "c": 0.04977,
    "h": 98.6
  },
  "luminance": 0.93048
}

Semantic roles & 50–950 ramp

primary
#FFF8D2
secondary
#8B9AEA
accent
#24E600
background
#FFFFFE
surface
#FFFFFC
border
#D7D7D5
text
#181715
muted
#868584

Preview Lab

Preview with #FFF8D2

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

Preview Lab → · Contrast checker → · Palette generator →

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