#F8FFC8#F8FFC8

#F8FFC8 is a very light, moderate yellow. Relative luminance 0.956; OKLCH L 98.1% C 0.071 H 113.6°. Best body text is #000000 at 20.13:1 contrast (WCAG AA passes).

Color values

HEX#F8FFC8
RGBrgb(248, 255, 200)
HSLhsl(68, 100%, 89%)
HSVhsv(68, 22%, 100%)
CMYKcmyk(2.7%, 0%, 21.6%, 0%)
CIE-LABlab(98.29, -11.11, 25.58)
CIE-LCHlch(98.29, 27.89, 113.48°)
OKLaboklab(98.13% -0.0285 0.0651)
OKLCHoklch(98.13% 0.071 113.6)
XYZxyz(84.8960, 95.6472, 68.6218)
Luminance0.9565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FFC8 #CFC8FF
analogous
#FFEBC8 #F8FFC8 #DDFFC8
triadic
#F8FFC8 #C8F8FF #FFC8F8
tetradic
#F8FFC8 #C8FFEB #CFC8FF #FFC8DD
square
#F8FFC8 #C8FFEB #CFC8FF #FFC8DD
split-complementary
#F8FFC8 #C8DDFF #EBC8FF
monochromatic
#E8FF4E #F0FF8B #F8FFC8 #FBFFE0 #FBFFE0

Accessibility & contrast

On white

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

On black

20.13
#F8FFC8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FFC8
20.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FFC8#FFFFFF#000000##000000
##F8FFC81.001.0420.1320.13
#FFFFFF1.041.0021.0021.00
#00000020.1321.001.001.00
##00000020.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF9C5
Deuteranopia (green-blind)
#FFFBCA
Tritanopia (blue-blind)
#FFF8F0
Achromatopsia (no color)
#FAFAFA

Design tokens & code

CSS
--color: #f8ffc8;
/* rgb */ color: rgb(248, 255, 200);
/* oklch */ color: oklch(98.1% 0.071 113.6);
Tailwind
colors: {
  custom: {
    50: '#fbffd9',
    500: '#f8ffc8',
    950: '#000000',
  },
}
SCSS
$custom: #f8ffc8;
$custom-light: #fbffd9;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ffc8",
  "rgb": {
    "r": 248,
    "g": 255,
    "b": 200
  },
  "hsl": {
    "h": 67.636,
    "s": 100,
    "l": 89.216
  },
  "oklch": {
    "l": 0.98131,
    "c": 0.07105,
    "h": 113.6
  },
  "luminance": 0.95647
}

Semantic roles & 50–950 ramp

primary
#F8FFC8
secondary
#8F82E9
accent
#00E61D
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#171814
muted
#858683

Preview Lab

Preview with #F8FFC8

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

Preview Lab → · Contrast checker → · Palette generator →

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