#F8FF7D#F8FF7D

#F8FF7D is a very light, vivid yellow. Relative luminance 0.930; OKLCH L 96.9% C 0.153 H 111.7°. Best body text is #000000 at 19.59:1 contrast (WCAG AA passes).

Color values

HEX#F8FF7D
RGBrgb(248, 255, 125)
HSLhsl(63, 100%, 75%)
HSVhsv(63, 51%, 100%)
CMYKcmyk(2.7%, 0%, 51%, 0%)
CIE-LABlab(97.21, -19.51, 60.55)
CIE-LCHlch(97.21, 63.61, 107.86°)
OKLaboklab(96.92% -0.0567 0.1424)
OKLCHoklch(96.92% 0.153 111.7)
XYZxyz(78.1747, 92.9587, 33.2228)
Luminance0.9296 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FF7D #847DFF
analogous
#FFC57D #F8FF7D #B7FF7D
triadic
#F8FF7D #7DF8FF #FF7DF8
tetradic
#F8FF7D #7DFFC5 #847DFF #FF7DB7
square
#F8FF7D #7DFFC5 #847DFF #FF7DB7
split-complementary
#F8FF7D #7DB7FF #C57DFF
monochromatic
#F1FF03 #F5FF40 #F8FF7D #FBFFBA #FDFFE0

Accessibility & contrast

On white

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

On black

19.59
#F8FF7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FF7D
19.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FF7D#FFFFFF#000000##000000
##F8FF7D1.001.0719.5919.59
#FFFFFF1.071.0021.0021.00
#00000019.5921.001.001.00
##00000019.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF571
Deuteranopia (green-blind)
#FFF984
Tritanopia (blue-blind)
#FFF2E2
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #f8ff7d;
/* rgb */ color: rgb(248, 255, 125);
/* oklch */ color: oklch(96.9% 0.153 111.7);
Tailwind
colors: {
  custom: {
    50: '#fdffa6',
    500: '#f8ff7d',
    950: '#000000',
  },
}
SCSS
$custom: #f8ff7d;
$custom-light: #fdffa6;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ff7d",
  "rgb": {
    "r": 248,
    "g": 255,
    "b": 125
  },
  "hsl": {
    "h": 63.231,
    "s": 100,
    "l": 74.51
  },
  "oklch": {
    "l": 0.96918,
    "c": 0.15322,
    "h": 111.7
  },
  "luminance": 0.92957
}

Semantic roles & 50–950 ramp

primary
#F8FF7D
secondary
#4B42DE
accent
#00E60C
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580

Preview Lab

Preview with #F8FF7D

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

Preview Lab → · Contrast checker → · Palette generator →

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