#F8FC9A#F8FC9A

#F8FC9A is a very light, vivid yellow. Relative luminance 0.919; OKLCH L 96.7% C 0.121 H 110.5°. Best body text is #000000 at 19.38:1 contrast (WCAG AA passes).

Color values

HEX#F8FC9A
RGBrgb(248, 252, 154)
HSLhsl(62, 94%, 80%)
HSVhsv(62, 39%, 99%)
CMYKcmyk(1.6%, 0%, 38.9%, 1.2%)
CIE-LABlab(96.78, -15.32, 46.45)
CIE-LCHlch(96.78, 48.91, 108.26°)
OKLaboklab(96.69% -0.0422 0.1131)
OKLCHoklch(96.69% 0.121 110.5)
XYZxyz(79.3555, 91.9117, 44.1260)
Luminance0.9191 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FC9A #9E9AFC
analogous
#FCCF9A #F8FC9A #C7FC9A
triadic
#F8FC9A #9AF8FC #FC9AF8
tetradic
#F8FC9A #9AFCCF #9E9AFC #FC9AC7
square
#F8FC9A #9AFCCF #9E9AFC #FC9AC7
split-complementary
#F8FC9A #9AC7FC #CF9AFC
monochromatic
#F0F823 #F4FA5F #F8FC9A #FCFED5 #FDFEE1

Accessibility & contrast

On white

1.08
#F8FC9A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.38
#F8FC9A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FC9A
19.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FC9A#FFFFFF#000000##000000
##F8FC9A1.001.0819.3819.38
#FFFFFF1.081.0021.0021.00
#00000019.3821.001.001.00
##00000019.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF492
Deuteranopia (green-blind)
#FFF79E
Tritanopia (blue-blind)
#FFF1E4
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #f8fc9a;
/* rgb */ color: rgb(248, 252, 154);
/* oklch */ color: oklch(96.7% 0.121 110.5);
Tailwind
colors: {
  custom: {
    50: '#fcfdb9',
    500: '#f8fc9a',
    950: '#000000',
  },
}
SCSS
$custom: #f8fc9a;
$custom-light: #fcfdb9;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fc9a",
  "rgb": {
    "r": 248,
    "g": 252,
    "b": 154
  },
  "hsl": {
    "h": 62.449,
    "s": 94.231,
    "l": 79.608
  },
  "oklch": {
    "l": 0.96691,
    "c": 0.12075,
    "h": 110.5
  },
  "luminance": 0.9191
}

Semantic roles & 50–950 ramp

primary
#F8FC9A
secondary
#625DDE
accent
#00E609
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #F8FC9A

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

Preview Lab → · Contrast checker → · Palette generator →

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