#F8FE77#F8FE77

#F8FE77 is a very light, vivid yellow. Relative luminance 0.922; OKLCH L 96.6% C 0.158 H 111.3°. Best body text is #000000 at 19.43:1 contrast (WCAG AA passes).

Color values

HEX#F8FE77
RGBrgb(248, 254, 119)
HSLhsl(63, 99%, 73%)
HSVhsv(63, 53%, 100%)
CMYKcmyk(2.4%, 0%, 53.1%, 0.4%)
CIE-LABlab(96.89, -19.52, 62.84)
CIE-LCHlch(96.89, 65.80, 107.25°)
OKLaboklab(96.64% -0.0573 0.1467)
OKLCHoklch(96.64% 0.158 111.3)
XYZxyz(77.4848, 92.1736, 31.1587)
Luminance0.9217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FE77 #7D77FE
analogous
#FEC177 #F8FE77 #B4FE77
triadic
#F8FE77 #77F8FE #FE77F8
tetradic
#F8FE77 #77FEC1 #7D77FE #FE77B4
square
#F8FE77 #77FEC1 #7D77FE #FE77B4
split-complementary
#F8FE77 #77B4FE #C177FE
monochromatic
#EEF902 #F5FE3A #F8FE77 #FBFEB4 #FDFFE1

Accessibility & contrast

On white

1.08
#F8FE77 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.43
#F8FE77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FE77
19.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FE77#FFFFFF#000000##000000
##F8FE771.001.0819.4319.43
#FFFFFF1.081.0021.0021.00
#00000019.4321.001.001.00
##00000019.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF46A
Deuteranopia (green-blind)
#FFF87E
Tritanopia (blue-blind)
#FFF1E0
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #f8fe77;
/* rgb */ color: rgb(248, 254, 119);
/* oklch */ color: oklch(96.6% 0.158 111.3);
Tailwind
colors: {
  custom: {
    50: '#fdfea2',
    500: '#f8fe77',
    950: '#000000',
  },
}
SCSS
$custom: #f8fe77;
$custom-light: #fdfea2;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fe77",
  "rgb": {
    "r": 248,
    "g": 254,
    "b": 119
  },
  "hsl": {
    "h": 62.667,
    "s": 98.54,
    "l": 73.137
  },
  "oklch": {
    "l": 0.96643,
    "c": 0.15751,
    "h": 111.3
  },
  "luminance": 0.92172
}

Semantic roles & 50–950 ramp

primary
#F8FE77
secondary
#453EDC
accent
#00E60A
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F8FE77

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

Preview Lab → · Contrast checker → · Palette generator →

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