#F8FC60#F8FC60

#F8FC60 is a very light, vivid yellow. Relative luminance 0.904; OKLCH L 96.0% C 0.174 H 110.7°. Best body text is #000000 at 19.08:1 contrast (WCAG AA passes).

Color values

HEX#F8FC60
RGBrgb(248, 252, 96)
HSLhsl(62, 96%, 68%)
HSVhsv(62, 62%, 99%)
CMYKcmyk(1.6%, 0%, 61.9%, 1.2%)
CIE-LABlab(96.17, -20.16, 71.70)
CIE-LCHlch(96.17, 74.48, 105.71°)
OKLaboklab(96.01% -0.0614 0.1628)
OKLCHoklch(96.01% 0.174 110.7)
XYZxyz(75.6354, 90.4237, 24.5333)
Luminance0.9042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FC60 #6460FC
analogous
#FCB260 #F8FC60 #AAFC60
triadic
#F8FC60 #60F8FC #FC60F8
tetradic
#F8FC60 #60FCB2 #6460FC #FC60AA
square
#F8FC60 #60FCB2 #6460FC #FC60AA
split-complementary
#F8FC60 #60AAFC #B260FC
monochromatic
#D8DD04 #F5FB24 #F8FC60 #FBFD9C #FDFED8

Accessibility & contrast

On white

1.10
#F8FC60 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.08
#F8FC60 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FC60
19.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FC60#FFFFFF#000000##000000
##F8FC601.001.1019.0819.08
#FFFFFF1.101.0021.0021.00
#00000019.0821.001.001.00
##00000019.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF24C
Deuteranopia (green-blind)
#FFF66A
Tritanopia (blue-blind)
#FFEDDC
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #f8fc60;
/* rgb */ color: rgb(248, 252, 96);
/* oklch */ color: oklch(96.0% 0.174 110.7);
Tailwind
colors: {
  custom: {
    50: '#fefd94',
    500: '#f8fc60',
    950: '#000000',
  },
}
SCSS
$custom: #f8fc60;
$custom-light: #fefd94;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fc60",
  "rgb": {
    "r": 248,
    "g": 252,
    "b": 96
  },
  "hsl": {
    "h": 61.538,
    "s": 96.296,
    "l": 68.235
  },
  "oklch": {
    "l": 0.96005,
    "c": 0.17402,
    "h": 110.7
  },
  "luminance": 0.90422
}

Semantic roles & 50–950 ramp

primary
#F8FC60
secondary
#2F2BD6
accent
#00E606
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8FC60

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

Preview Lab → · Contrast checker → · Palette generator →

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