#F8FA80#F8FA80

#F8FA80 is a very light, vivid yellow. Relative luminance 0.899; OKLCH L 95.9% C 0.145 H 109.7°. Best body text is #000000 at 18.98:1 contrast (WCAG AA passes).

Color values

HEX#F8FA80
RGBrgb(248, 250, 128)
HSLhsl(61, 92%, 74%)
HSVhsv(61, 49%, 98%)
CMYKcmyk(0.8%, 0%, 48.8%, 2%)
CIE-LABlab(95.95, -16.85, 57.70)
CIE-LCHlch(95.95, 60.11, 106.28°)
OKLaboklab(95.92% -0.0488 0.1364)
OKLCHoklch(95.92% 0.145 109.7)
XYZxyz(76.7949, 89.8879, 33.7226)
Luminance0.8989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FA80 #8280FA
analogous
#FABF80 #F8FA80 #BBFA80
triadic
#F8FA80 #80F8FA #FA80F8
tetradic
#F8FA80 #80FABF #8280FA #FA80BB
square
#F8FA80 #80FABF #8280FA #FA80BB
split-complementary
#F8FA80 #80BBFA #BF80FA
monochromatic
#F2F50A #F5F845 #F8FA80 #FBFCBB #FDFEE2

Accessibility & contrast

On white

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

On black

18.98
#F8FA80 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FA80
18.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FA80#FFFFFF#000000##000000
##F8FA801.001.1118.9818.98
#FFFFFF1.111.0021.0021.00
#00000018.9821.001.001.00
##00000018.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF175
Deuteranopia (green-blind)
#FFF586
Tritanopia (blue-blind)
#FFEDDE
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f8fa80;
/* rgb */ color: rgb(248, 250, 128);
/* oklch */ color: oklch(95.9% 0.145 109.7);
Tailwind
colors: {
  custom: {
    50: '#fdfba8',
    500: '#f8fa80',
    950: '#000000',
  },
}
SCSS
$custom: #f8fa80;
$custom-light: #fdfba8;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fa80",
  "rgb": {
    "r": 248,
    "g": 250,
    "b": 128
  },
  "hsl": {
    "h": 60.984,
    "s": 92.424,
    "l": 74.118
  },
  "oklch": {
    "l": 0.95923,
    "c": 0.1449,
    "h": 109.7
  },
  "luminance": 0.89886
}

Semantic roles & 50–950 ramp

primary
#F8FA80
secondary
#4947D7
accent
#00E604
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #F8FA80

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

Preview Lab → · Contrast checker → · Palette generator →

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