#F8FA79#F8FA79

#F8FA79 is a very light, vivid yellow. Relative luminance 0.897; OKLCH L 95.8% C 0.151 H 109.8°. Best body text is #000000 at 18.94:1 contrast (WCAG AA passes).

Color values

HEX#F8FA79
RGBrgb(248, 250, 121)
HSLhsl(61, 93%, 73%)
HSVhsv(61, 52%, 98%)
CMYKcmyk(0.8%, 0%, 51.6%, 2%)
CIE-LABlab(95.88, -17.43, 60.78)
CIE-LCHlch(95.88, 63.23, 106.00°)
OKLaboklab(95.84% -0.0512 0.1425)
OKLCHoklch(95.84% 0.151 109.8)
XYZxyz(76.3500, 89.7099, 31.3793)
Luminance0.8971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FA79 #7B79FA
analogous
#FABB79 #F8FA79 #B8FA79
triadic
#F8FA79 #79F8FA #FA79F8
tetradic
#F8FA79 #79FABB #7B79FA #FA79B8
square
#F8FA79 #79FABB #7B79FA #FA79B8
split-complementary
#F8FA79 #79B8FA #BB79FA
monochromatic
#ECF009 #F5F83E #F8FA79 #FBFCB4 #FDFEE2

Accessibility & contrast

On white

1.11
#F8FA79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.94
#F8FA79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FA79
18.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FA79#FFFFFF#000000##000000
##F8FA791.001.1118.9418.94
#FFFFFF1.111.0021.0021.00
#00000018.9421.001.001.00
##00000018.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF16D
Deuteranopia (green-blind)
#FFF580
Tritanopia (blue-blind)
#FFEDDD
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f8fa79;
/* rgb */ color: rgb(248, 250, 121);
/* oklch */ color: oklch(95.8% 0.151 109.8);
Tailwind
colors: {
  custom: {
    50: '#fdfba3',
    500: '#f8fa79',
    950: '#000000',
  },
}
SCSS
$custom: #f8fa79;
$custom-light: #fdfba3;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fa79",
  "rgb": {
    "r": 248,
    "g": 250,
    "b": 121
  },
  "hsl": {
    "h": 60.93,
    "s": 92.806,
    "l": 72.745
  },
  "oklch": {
    "l": 0.9584,
    "c": 0.1514,
    "h": 109.8
  },
  "luminance": 0.89708
}

Semantic roles & 50–950 ramp

primary
#F8FA79
secondary
#4341D7
accent
#00E604
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F8FA79

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

Preview Lab → · Contrast checker → · Palette generator →

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