#F8FC62#F8FC62

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

Color values

HEX#F8FC62
RGBrgb(248, 252, 98)
HSLhsl(62, 96%, 69%)
HSVhsv(62, 61%, 99%)
CMYKcmyk(1.6%, 0%, 61.1%, 1.2%)
CIE-LABlab(96.19, -20.04, 70.92)
CIE-LCHlch(96.19, 73.70, 105.78°)
OKLaboklab(96.02% -0.0609 0.1615)
OKLCHoklch(96.02% 0.173 110.7)
XYZxyz(75.7286, 90.4610, 25.0244)
Luminance0.9046 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FC62 #6662FC
analogous
#FCB362 #F8FC62 #ABFC62
triadic
#F8FC62 #62F8FC #FC62F8
tetradic
#F8FC62 #62FCB3 #6662FC #FC62AB
square
#F8FC62 #62FCB3 #6662FC #FC62AB
split-complementary
#F8FC62 #62ABFC #B362FC
monochromatic
#DADF04 #F5FB26 #F8FC62 #FBFD9E #FDFEDA

Accessibility & contrast

On white

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

On black

19.09
#F8FC62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FC62
19.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FC62#FFFFFF#000000##000000
##F8FC621.001.1019.0919.09
#FFFFFF1.101.0021.0021.00
#00000019.0921.001.001.00
##00000019.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8fc62;
/* rgb */ color: rgb(248, 252, 98);
/* oklch */ color: oklch(96.0% 0.173 110.7);
Tailwind
colors: {
  custom: {
    50: '#fefd95',
    500: '#f8fc62',
    950: '#000000',
  },
}
SCSS
$custom: #f8fc62;
$custom-light: #fefd95;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fc62",
  "rgb": {
    "r": 248,
    "g": 252,
    "b": 98
  },
  "hsl": {
    "h": 61.558,
    "s": 96.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.96022,
    "c": 0.17254,
    "h": 110.7
  },
  "luminance": 0.90459
}

Semantic roles & 50–950 ramp

primary
#F8FC62
secondary
#312CD6
accent
#00E606
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8FC62

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

Preview Lab → · Contrast checker → · Palette generator →

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