#F8FE71#F8FE71

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

Color values

HEX#F8FE71
RGBrgb(248, 254, 113)
HSLhsl(63, 99%, 72%)
HSVhsv(63, 56%, 100%)
CMYKcmyk(2.4%, 0%, 55.5%, 0.4%)
CIE-LABlab(96.83, -19.97, 65.39)
CIE-LCHlch(96.83, 68.37, 106.98°)
OKLaboklab(96.58% -0.0592 0.1516)
OKLCHoklch(96.58% 0.163 111.3)
XYZxyz(77.1357, 92.0340, 29.3206)
Luminance0.9203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FE71 #7771FE
analogous
#FEBE71 #F8FE71 #B2FE71
triadic
#F8FE71 #71F8FE #FE71F8
tetradic
#F8FE71 #71FEBE #7771FE #FE71B2
square
#F8FE71 #71FEBE #7771FE #FE71B2
split-complementary
#F8FE71 #71B2FE #BE71FE
monochromatic
#E9F302 #F5FE34 #F8FE71 #FBFEAE #FEFFE1

Accessibility & contrast

On white

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

On black

19.41
#F8FE71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FE71
19.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FE71#FFFFFF#000000##000000
##F8FE711.001.0819.4119.41
#FFFFFF1.081.0021.0021.00
#00000019.4121.001.001.00
##00000019.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF462
Deuteranopia (green-blind)
#FFF879
Tritanopia (blue-blind)
#FFF0DF
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #f8fe71;
/* rgb */ color: rgb(248, 254, 113);
/* oklch */ color: oklch(96.6% 0.163 111.3);
Tailwind
colors: {
  custom: {
    50: '#fdfe9e',
    500: '#f8fe71',
    950: '#000000',
  },
}
SCSS
$custom: #f8fe71;
$custom-light: #fdfe9e;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fe71",
  "rgb": {
    "r": 248,
    "g": 254,
    "b": 113
  },
  "hsl": {
    "h": 62.553,
    "s": 98.601,
    "l": 71.961
  },
  "oklch": {
    "l": 0.9658,
    "c": 0.1627,
    "h": 111.3
  },
  "luminance": 0.92032
}

Semantic roles & 50–950 ramp

primary
#F8FE71
secondary
#3F39DB
accent
#00E60A
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F8FE71

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

Preview Lab → · Contrast checker → · Palette generator →

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