#F8FFD2#F8FFD2

#F8FFD2 is a very light, muted yellow. Relative luminance 0.961; OKLCH L 98.3% C 0.059 H 114.7°. Best body text is #000000 at 20.23:1 contrast (WCAG AA passes).

Color values

HEX#F8FFD2
RGBrgb(248, 255, 210)
HSLhsl(69, 100%, 91%)
HSVhsv(69, 18%, 100%)
CMYKcmyk(2.7%, 0%, 17.6%, 0%)
CIE-LABlab(98.48, -9.67, 20.77)
CIE-LCHlch(98.48, 22.91, 114.96°)
OKLaboklab(98.35% -0.0245 0.0533)
OKLCHoklch(98.35% 0.059 114.7)
XYZxyz(86.1031, 96.1301, 74.9792)
Luminance0.9613 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FFD2 #D9D2FF
analogous
#FFEFD2 #F8FFD2 #E1FFD2
triadic
#F8FFD2 #D2F8FF #FFD2F8
tetradic
#F8FFD2 #D2FFEF #D9D2FF #FFD2E1
square
#F8FFD2 #D2FFEF #D9D2FF #FFD2E1
split-complementary
#F8FFD2 #D2E1FF #EFD2FF
monochromatic
#E5FF58 #EEFF95 #F8FFD2 #FAFFE0 #FAFFE0

Accessibility & contrast

On white

1.04
#F8FFD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

20.23
#F8FFD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FFD2
20.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FFD2#FFFFFF#000000##000000
##F8FFD21.001.0420.2320.23
#FFFFFF1.041.0021.0021.00
#00000020.2321.001.001.00
##00000020.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFFACF
Deuteranopia (green-blind)
#FFFBD4
Tritanopia (blue-blind)
#FDFAF2
Achromatopsia (no color)
#FBFBFB

Design tokens & code

CSS
--color: #f8ffd2;
/* rgb */ color: rgb(248, 255, 210);
/* oklch */ color: oklch(98.3% 0.059 114.7);
Tailwind
colors: {
  custom: {
    50: '#faffe0',
    500: '#f8ffd2',
    950: '#000000',
  },
}
SCSS
$custom: #f8ffd2;
$custom-light: #faffe0;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ffd2",
  "rgb": {
    "r": 248,
    "g": 255,
    "b": 210
  },
  "hsl": {
    "h": 69.333,
    "s": 100,
    "l": 91.176
  },
  "oklch": {
    "l": 0.98346,
    "c": 0.05866,
    "h": 114.7
  },
  "luminance": 0.9613
}

Semantic roles & 50–950 ramp

primary
#F8FFD2
secondary
#9A8BEA
accent
#00E624
background
#FFFFFE
surface
#FFFFFC
border
#D7D7D5
text
#171815
muted
#858684

Preview Lab

Preview with #F8FFD2

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

Preview Lab → · Contrast checker → · Palette generator →

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