#F8FA91#F8FA91

#F8FA91 is a very light, vivid yellow. Relative luminance 0.904; OKLCH L 96.1% C 0.128 H 109.5°. Best body text is #000000 at 19.07:1 contrast (WCAG AA passes).

Color values

HEX#F8FA91
RGBrgb(248, 250, 145)
HSLhsl(61, 91%, 77%)
HSVhsv(61, 42%, 98%)
CMYKcmyk(0.8%, 0%, 42%, 2%)
CIE-LABlab(96.15, -15.28, 49.99)
CIE-LCHlch(96.15, 52.27, 106.99°)
OKLaboklab(96.15% -0.0428 0.1206)
OKLCHoklch(96.15% 0.128 109.5)
XYZxyz(78.0091, 90.3736, 40.1170)
Luminance0.9037 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FA91 #9391FA
analogous
#FAC891 #F8FA91 #C3FA91
triadic
#F8FA91 #91F8FA #FA91F8
tetradic
#F8FA91 #91FAC8 #9391FA #FA91C3
square
#F8FA91 #91FAC8 #9391FA #FA91C3
split-complementary
#F8FA91 #91C3FA #C891FA
monochromatic
#F1F51C #F4F756 #F8FA91 #FCFDCC #FDFEE2

Accessibility & contrast

On white

1.10
#F8FA91 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.07
#F8FA91 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FA91
19.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FA91#FFFFFF#000000##000000
##F8FA911.001.1019.0719.07
#FFFFFF1.101.0021.0021.00
#00000019.0721.001.001.00
##00000019.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF289
Deuteranopia (green-blind)
#FFF696
Tritanopia (blue-blind)
#FFEEE1
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #f8fa91;
/* rgb */ color: rgb(248, 250, 145);
/* oklch */ color: oklch(96.1% 0.128 109.5);
Tailwind
colors: {
  custom: {
    50: '#fcfbb3',
    500: '#f8fa91',
    950: '#000000',
  },
}
SCSS
$custom: #f8fa91;
$custom-light: #fcfbb3;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fa91",
  "rgb": {
    "r": 248,
    "g": 250,
    "b": 145
  },
  "hsl": {
    "h": 61.143,
    "s": 91.304,
    "l": 77.451
  },
  "oklch": {
    "l": 0.96149,
    "c": 0.12797,
    "h": 109.5
  },
  "luminance": 0.90372
}

Semantic roles & 50–950 ramp

primary
#F8FA91
secondary
#5856DA
accent
#00E604
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #F8FA91

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

Preview Lab → · Contrast checker → · Palette generator →

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