#F8FE62#F8FE62

#F8FE62 is a very light, vivid yellow. Relative luminance 0.917; OKLCH L 96.4% C 0.175 H 111.4°. Best body text is #000000 at 19.34:1 contrast (WCAG AA passes).

Color values

HEX#F8FE62
RGBrgb(248, 254, 98)
HSLhsl(62, 99%, 69%)
HSVhsv(62, 61%, 100%)
CMYKcmyk(2.4%, 0%, 61.4%, 0.4%)
CIE-LABlab(96.71, -20.99, 71.47)
CIE-LCHlch(96.71, 74.49, 106.37°)
OKLaboklab(96.44% -0.0636 0.1626)
OKLCHoklch(96.44% 0.175 111.4)
XYZxyz(76.3600, 91.7237, 25.2349)
Luminance0.9172 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FE62 #6862FE
analogous
#FEB662 #F8FE62 #AAFE62
triadic
#F8FE62 #62F8FE #FE62F8
tetradic
#F8FE62 #62FEB6 #6862FE #FE62AA
square
#F8FE62 #62FEB6 #6862FE #FE62AA
split-complementary
#F8FE62 #62AAFE #B662FE
monochromatic
#DBE401 #F5FE25 #F8FE62 #FBFE9F #FDFFDC

Accessibility & contrast

On white

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

On black

19.34
#F8FE62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FE62
19.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FE62#FFFFFF#000000##000000
##F8FE621.001.0919.3419.34
#FFFFFF1.091.0021.0021.00
#00000019.3421.001.001.00
##00000019.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF34E
Deuteranopia (green-blind)
#FFF86C
Tritanopia (blue-blind)
#FFEFDE
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #f8fe62;
/* rgb */ color: rgb(248, 254, 98);
/* oklch */ color: oklch(96.4% 0.175 111.4);
Tailwind
colors: {
  custom: {
    50: '#fefe95',
    500: '#f8fe62',
    950: '#000000',
  },
}
SCSS
$custom: #f8fe62;
$custom-light: #fefe95;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fe62",
  "rgb": {
    "r": 248,
    "g": 254,
    "b": 98
  },
  "hsl": {
    "h": 62.308,
    "s": 98.734,
    "l": 69.02
  },
  "oklch": {
    "l": 0.96437,
    "c": 0.1746,
    "h": 111.4
  },
  "luminance": 0.91722
}

Semantic roles & 50–950 ramp

primary
#F8FE62
secondary
#322CD8
accent
#00E609
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8FE62

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

Preview Lab → · Contrast checker → · Palette generator →

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