#F8FD62#F8FD62

#F8FD62 is a very light, vivid yellow. Relative luminance 0.911; OKLCH L 96.2% C 0.174 H 111.0°. Best body text is #000000 at 19.22:1 contrast (WCAG AA passes).

Color values

HEX#F8FD62
RGBrgb(248, 253, 98)
HSLhsl(62, 97%, 69%)
HSVhsv(62, 61%, 99%)
CMYKcmyk(2%, 0%, 61.3%, 0.8%)
CIE-LABlab(96.45, -20.52, 71.20)
CIE-LCHlch(96.45, 74.09, 106.08°)
OKLaboklab(96.23% -0.0622 0.162)
OKLCHoklch(96.23% 0.174 111)
XYZxyz(76.0435, 91.0907, 25.1294)
Luminance0.9109 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FD62 #6762FD
analogous
#FDB462 #F8FD62 #ABFD62
triadic
#F8FD62 #62F8FD #FD62F8
tetradic
#F8FD62 #62FDB4 #6762FD #FD62AB
square
#F8FD62 #62FDB4 #6762FD #FD62AB
split-complementary
#F8FD62 #62ABFD #B462FD
monochromatic
#DBE203 #F5FC26 #F8FD62 #FBFE9E #FDFFDB

Accessibility & contrast

On white

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

On black

19.22
#F8FD62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FD62
19.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FD62#FFFFFF#000000##000000
##F8FD621.001.0919.2219.22
#FFFFFF1.091.0021.0021.00
#00000019.2221.001.001.00
##00000019.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF24F
Deuteranopia (green-blind)
#FFF76C
Tritanopia (blue-blind)
#FFEEDD
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #f8fd62;
/* rgb */ color: rgb(248, 253, 98);
/* oklch */ color: oklch(96.2% 0.174 111.0);
Tailwind
colors: {
  custom: {
    50: '#fefd95',
    500: '#f8fd62',
    950: '#000000',
  },
}
SCSS
$custom: #f8fd62;
$custom-light: #fefd95;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fd62",
  "rgb": {
    "r": 248,
    "g": 253,
    "b": 98
  },
  "hsl": {
    "h": 61.935,
    "s": 97.484,
    "l": 68.824
  },
  "oklch": {
    "l": 0.9623,
    "c": 0.17358,
    "h": 111
  },
  "luminance": 0.91089
}

Semantic roles & 50–950 ramp

primary
#F8FD62
secondary
#322CD7
accent
#00E607
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8FD62

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

Preview Lab → · Contrast checker → · Palette generator →

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