#F8FC8A#F8FC8A

#F8FC8A is a very light, vivid yellow. Relative luminance 0.914; OKLCH L 96.5% C 0.137 H 110.5°. Best body text is #000000 at 19.28:1 contrast (WCAG AA passes).

Color values

HEX#F8FC8A
RGBrgb(248, 252, 138)
HSLhsl(62, 95%, 76%)
HSVhsv(62, 45%, 99%)
CMYKcmyk(1.6%, 0%, 45.2%, 1.2%)
CIE-LABlab(96.58, -16.92, 53.83)
CIE-LCHlch(96.58, 56.42, 107.45°)
OKLaboklab(96.46% -0.0481 0.1287)
OKLCHoklch(96.46% 0.137 110.5)
XYZxyz(78.1106, 91.4138, 37.5697)
Luminance0.9141 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FC8A #8E8AFC
analogous
#FCC78A #F8FC8A #BFFC8A
triadic
#F8FC8A #8AF8FC #FC8AF8
tetradic
#F8FC8A #8AFCC7 #8E8AFC #FC8ABF
square
#F8FC8A #8AFCC7 #8E8AFC #FC8ABF
split-complementary
#F8FC8A #8ABFFC #C78AFC
monochromatic
#F1F913 #F4FA4E #F8FC8A #FCFEC6 #FDFEE1

Accessibility & contrast

On white

1.09
#F8FC8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.28
#F8FC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FC8A
19.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FC8A#FFFFFF#000000##000000
##F8FC8A1.001.0919.2819.28
#FFFFFF1.091.0021.0021.00
#00000019.2821.001.001.00
##00000019.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF380
Deuteranopia (green-blind)
#FFF790
Tritanopia (blue-blind)
#FFF0E1
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #f8fc8a;
/* rgb */ color: rgb(248, 252, 138);
/* oklch */ color: oklch(96.5% 0.137 110.5);
Tailwind
colors: {
  custom: {
    50: '#fcfdae',
    500: '#f8fc8a',
    950: '#000000',
  },
}
SCSS
$custom: #f8fc8a;
$custom-light: #fcfdae;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fc8a",
  "rgb": {
    "r": 248,
    "g": 252,
    "b": 138
  },
  "hsl": {
    "h": 62.105,
    "s": 95,
    "l": 76.471
  },
  "oklch": {
    "l": 0.96462,
    "c": 0.13738,
    "h": 110.5
  },
  "luminance": 0.91412
}

Semantic roles & 50–950 ramp

primary
#F8FC8A
secondary
#544FDC
accent
#00E608
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #F8FC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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