#F8FFCB#F8FFCB

#F8FFCB is a very light, moderate yellow. Relative luminance 0.958; OKLCH L 98.2% C 0.067 H 113.9°. Best body text is #000000 at 20.16:1 contrast (WCAG AA passes).

Color values

HEX#F8FFCB
RGBrgb(248, 255, 203)
HSLhsl(68, 100%, 90%)
HSVhsv(68, 20%, 100%)
CMYKcmyk(2.7%, 0%, 20.4%, 0%)
CIE-LABlab(98.35, -10.69, 24.14)
CIE-LCHlch(98.35, 26.40, 113.88°)
OKLaboklab(98.19% -0.0273 0.0616)
OKLCHoklch(98.19% 0.067 113.9)
XYZxyz(85.2501, 95.7888, 70.4864)
Luminance0.9579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FFCB #D2CBFF
analogous
#FFECCB #F8FFCB #DEFFCB
triadic
#F8FFCB #CBF8FF #FFCBF8
tetradic
#F8FFCB #CBFFEC #D2CBFF #FFCBDE
square
#F8FFCB #CBFFEC #D2CBFF #FFCBDE
split-complementary
#F8FFCB #CBDEFF #ECCBFF
monochromatic
#E8FF51 #F0FF8E #F8FFCB #FBFFE0 #FBFFE0

Accessibility & contrast

On white

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

On black

20.16
#F8FFCB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FFCB
20.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FFCB#FFFFFF#000000##000000
##F8FFCB1.001.0420.1620.16
#FFFFFF1.041.0021.0021.00
#00000020.1621.001.001.00
##00000020.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFFAC8
Deuteranopia (green-blind)
#FFFBCD
Tritanopia (blue-blind)
#FEF9F1
Achromatopsia (no color)
#FAFAFA

Design tokens & code

CSS
--color: #f8ffcb;
/* rgb */ color: rgb(248, 255, 203);
/* oklch */ color: oklch(98.2% 0.067 113.9);
Tailwind
colors: {
  custom: {
    50: '#fbffdb',
    500: '#f8ffcb',
    950: '#000000',
  },
}
SCSS
$custom: #f8ffcb;
$custom-light: #fbffdb;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ffcb",
  "rgb": {
    "r": 248,
    "g": 255,
    "b": 203
  },
  "hsl": {
    "h": 68.077,
    "s": 100,
    "l": 89.804
  },
  "oklch": {
    "l": 0.98194,
    "c": 0.06735,
    "h": 113.9
  },
  "luminance": 0.95788
}

Semantic roles & 50–950 ramp

primary
#F8FFCB
secondary
#9285E9
accent
#00E61F
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#171815
muted
#858684

Preview Lab

Preview with #F8FFCB

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

Preview Lab → · Contrast checker → · Palette generator →

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