#F8FC78#F8FC78

#F8FC78 is a very light, vivid yellow. Relative luminance 0.909; OKLCH L 96.2% C 0.154 H 110.6°. Best body text is #000000 at 19.19:1 contrast (WCAG AA passes).

Color values

HEX#F8FC78
RGBrgb(248, 252, 120)
HSLhsl(62, 96%, 73%)
HSVhsv(62, 52%, 99%)
CMYKcmyk(1.6%, 0%, 52.4%, 1.2%)
CIE-LABlab(96.38, -18.48, 61.82)
CIE-LCHlch(96.38, 64.52, 106.64°)
OKLaboklab(96.24% -0.0542 0.1446)
OKLCHoklch(96.24% 0.154 110.6)
XYZxyz(76.9138, 90.9351, 31.2662)
Luminance0.9093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FC78 #7C78FC
analogous
#FCBE78 #F8FC78 #B6FC78
triadic
#F8FC78 #78F8FC #FC78F8
tetradic
#F8FC78 #78FCBE #7C78FC #FC78B6
square
#F8FC78 #78FCBE #7C78FC #FC78B6
split-complementary
#F8FC78 #78B6FC #BE78FC
monochromatic
#EDF405 #F5FB3C #F8FC78 #FBFDB4 #FDFEE1

Accessibility & contrast

On white

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

On black

19.19
#F8FC78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FC78
19.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FC78#FFFFFF#000000##000000
##F8FC781.001.0919.1919.19
#FFFFFF1.091.0021.0021.00
#00000019.1921.001.001.00
##00000019.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF26B
Deuteranopia (green-blind)
#FFF77F
Tritanopia (blue-blind)
#FFEFDF
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #f8fc78;
/* rgb */ color: rgb(248, 252, 120);
/* oklch */ color: oklch(96.2% 0.154 110.6);
Tailwind
colors: {
  custom: {
    50: '#fdfda2',
    500: '#f8fc78',
    950: '#000000',
  },
}
SCSS
$custom: #f8fc78;
$custom-light: #fdfda2;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fc78",
  "rgb": {
    "r": 248,
    "g": 252,
    "b": 120
  },
  "hsl": {
    "h": 61.818,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.96241,
    "c": 0.15445,
    "h": 110.6
  },
  "luminance": 0.90933
}

Semantic roles & 50–950 ramp

primary
#F8FC78
secondary
#443FD9
accent
#00E607
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F8FC78

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

Preview Lab → · Contrast checker → · Palette generator →

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