#F8FE8A#F8FE8A

#F8FE8A is a very light, vivid yellow. Relative luminance 0.927; OKLCH L 96.9% C 0.140 H 111.3°. Best body text is #000000 at 19.54:1 contrast (WCAG AA passes).

Color values

HEX#F8FE8A
RGBrgb(248, 254, 138)
HSLhsl(63, 98%, 77%)
HSVhsv(63, 46%, 100%)
CMYKcmyk(2.4%, 0%, 45.7%, 0.4%)
CIE-LABlab(97.10, -17.89, 54.45)
CIE-LCHlch(97.10, 57.32, 108.18°)
OKLaboklab(96.87% -0.0508 0.1301)
OKLCHoklch(96.87% 0.14 111.3)
XYZxyz(78.7420, 92.6765, 37.7802)
Luminance0.9267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FE8A #908AFE
analogous
#FECA8A #F8FE8A #BEFE8A
triadic
#F8FE8A #8AF8FE #FE8AF8
tetradic
#F8FE8A #8AFECA #908AFE #FE8ABE
square
#F8FE8A #8AFECA #908AFE #FE8ABE
split-complementary
#F8FE8A #8ABEFE #CA8AFE
monochromatic
#F1FD11 #F4FD4D #F8FE8A #FCFFC7 #FDFFE1

Accessibility & contrast

On white

1.07
#F8FE8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.54
#F8FE8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FE8A
19.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FE8A#FFFFFF#000000##000000
##F8FE8A1.001.0719.5419.54
#FFFFFF1.071.0021.0021.00
#00000019.5421.001.001.00
##00000019.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF580
Deuteranopia (green-blind)
#FFF890
Tritanopia (blue-blind)
#FFF2E3
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #f8fe8a;
/* rgb */ color: rgb(248, 254, 138);
/* oklch */ color: oklch(96.9% 0.140 111.3);
Tailwind
colors: {
  custom: {
    50: '#fcfeae',
    500: '#f8fe8a',
    950: '#000000',
  },
}
SCSS
$custom: #f8fe8a;
$custom-light: #fcfeae;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fe8a",
  "rgb": {
    "r": 248,
    "g": 254,
    "b": 138
  },
  "hsl": {
    "h": 63.103,
    "s": 98.305,
    "l": 76.863
  },
  "oklch": {
    "l": 0.96873,
    "c": 0.13966,
    "h": 111.3
  },
  "luminance": 0.92675
}

Semantic roles & 50–950 ramp

primary
#F8FE8A
secondary
#554EDE
accent
#00E60C
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #F8FE8A

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

Preview Lab → · Contrast checker → · Palette generator →

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