#F8FE5D#F8FE5D

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

Color values

HEX#F8FE5D
RGBrgb(248, 254, 93)
HSLhsl(62, 99%, 68%)
HSVhsv(62, 63%, 100%)
CMYKcmyk(2.4%, 0%, 63.4%, 0.4%)
CIE-LABlab(96.67, -21.30, 73.39)
CIE-LCHlch(96.67, 76.42, 106.18°)
OKLaboklab(96.4% -0.0649 0.166)
OKLCHoklch(96.4% 0.178 111.4)
XYZxyz(76.1312, 91.6322, 24.0302)
Luminance0.9163 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FE5D #635DFE
analogous
#FEB35D #F8FE5D #A7FE5D
triadic
#F8FE5D #5DF8FE #FE5DF8
tetradic
#F8FE5D #5DFEB3 #635DFE #FE5DA7
square
#F8FE5D #5DFEB3 #635DFE #FE5DA7
split-complementary
#F8FE5D #5DA7FE #B35DFE
monochromatic
#D7DF01 #F5FE20 #F8FE5D #FBFE9A #FDFFD7

Accessibility & contrast

On white

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

On black

19.33
#F8FE5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FE5D
19.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FE5D#FFFFFF#000000##000000
##F8FE5D1.001.0919.3319.33
#FFFFFF1.091.0021.0021.00
#00000019.3321.001.001.00
##00000019.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF347
Deuteranopia (green-blind)
#FFF868
Tritanopia (blue-blind)
#FFEFDD
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #f8fe5d;
/* rgb */ color: rgb(248, 254, 93);
/* oklch */ color: oklch(96.4% 0.178 111.4);
Tailwind
colors: {
  custom: {
    50: '#fefe92',
    500: '#f8fe5d',
    950: '#000000',
  },
}
SCSS
$custom: #f8fe5d;
$custom-light: #fefe92;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fe5d",
  "rgb": {
    "r": 248,
    "g": 254,
    "b": 93
  },
  "hsl": {
    "h": 62.236,
    "s": 98.773,
    "l": 68.039
  },
  "oklch": {
    "l": 0.96395,
    "c": 0.17822,
    "h": 111.4
  },
  "luminance": 0.9163
}

Semantic roles & 50–950 ramp

primary
#F8FE5D
secondary
#2E28D8
accent
#00E609
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170D
muted
#86857F

Preview Lab

Preview with #F8FE5D

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

Preview Lab → · Contrast checker → · Palette generator →

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