#F8FF5D#F8FF5D

#F8FF5D is a very light, vivid yellow. Relative luminance 0.923; OKLCH L 96.6% C 0.179 H 111.7°. Best body text is #000000 at 19.45:1 contrast (WCAG AA passes).

Color values

HEX#F8FF5D
RGBrgb(248, 255, 93)
HSLhsl(63, 100%, 68%)
HSVhsv(63, 64%, 100%)
CMYKcmyk(2.7%, 0%, 63.5%, 0%)
CIE-LABlab(96.93, -21.77, 73.67)
CIE-LCHlch(96.93, 76.82, 106.47°)
OKLaboklab(96.6% -0.0662 0.1666)
OKLCHoklch(96.6% 0.179 111.7)
XYZxyz(76.4494, 92.2686, 24.1362)
Luminance0.9227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FF5D #645DFF
analogous
#FFB55D #F8FF5D #A7FF5D
triadic
#F8FF5D #5DF8FF #FF5DF8
tetradic
#F8FF5D #5DFFB5 #645DFF #FF5DA7
square
#F8FF5D #5DFFB5 #645DFF #FF5DA7
split-complementary
#F8FF5D #5DA7FF #B55DFF
monochromatic
#D8E200 #F5FF20 #F8FF5D #FBFF9A #FDFFD7

Accessibility & contrast

On white

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

On black

19.45
#F8FF5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FF5D
19.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FF5D#FFFFFF#000000##000000
##F8FF5D1.001.0819.4519.45
#FFFFFF1.081.0021.0021.00
#00000019.4521.001.001.00
##00000019.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF447
Deuteranopia (green-blind)
#FFF868
Tritanopia (blue-blind)
#FFF0DE
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #f8ff5d;
/* rgb */ color: rgb(248, 255, 93);
/* oklch */ color: oklch(96.6% 0.179 111.7);
Tailwind
colors: {
  custom: {
    50: '#feff92',
    500: '#f8ff5d',
    950: '#000000',
  },
}
SCSS
$custom: #f8ff5d;
$custom-light: #feff92;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ff5d",
  "rgb": {
    "r": 248,
    "g": 255,
    "b": 93
  },
  "hsl": {
    "h": 62.593,
    "s": 100,
    "l": 68.235
  },
  "oklch": {
    "l": 0.96603,
    "c": 0.17924,
    "h": 111.7
  },
  "luminance": 0.92267
}

Semantic roles & 50–950 ramp

primary
#F8FF5D
secondary
#2F27D9
accent
#00E60A
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170D
muted
#86857F

Preview Lab

Preview with #F8FF5D

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

Preview Lab → · Contrast checker → · Palette generator →

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