#F8FA94#F8FA94

#F8FA94 is a very light, vivid yellow. Relative luminance 0.905; OKLCH L 96.2% C 0.125 H 109.5°. Best body text is #000000 at 19.09:1 contrast (WCAG AA passes).

Color values

HEX#F8FA94
RGBrgb(248, 250, 148)
HSLhsl(61, 91%, 78%)
HSVhsv(61, 41%, 98%)
CMYKcmyk(0.8%, 0%, 40.8%, 2%)
CIE-LABlab(96.19, -14.97, 48.60)
CIE-LCHlch(96.19, 50.85, 107.13°)
OKLaboklab(96.19% -0.0417 0.1177)
OKLCHoklch(96.19% 0.125 109.5)
XYZxyz(78.2435, 90.4673, 41.3514)
Luminance0.9047 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FA94 #9694FA
analogous
#FAC994 #F8FA94 #C5FA94
triadic
#F8FA94 #94F8FA #FA94F8
tetradic
#F8FA94 #94FAC9 #9694FA #FA94C5
square
#F8FA94 #94FAC9 #9694FA #FA94C5
split-complementary
#F8FA94 #94C5FA #C994FA
monochromatic
#F0F51F #F4F75A #F8FA94 #FCFDCE #FDFEE2

Accessibility & contrast

On white

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

On black

19.09
#F8FA94 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FA94
19.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FA94#FFFFFF#000000##000000
##F8FA941.001.1019.0919.09
#FFFFFF1.101.0021.0021.00
#00000019.0921.001.001.00
##00000019.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF28C
Deuteranopia (green-blind)
#FFF699
Tritanopia (blue-blind)
#FFEFE1
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #f8fa94;
/* rgb */ color: rgb(248, 250, 148);
/* oklch */ color: oklch(96.2% 0.125 109.5);
Tailwind
colors: {
  custom: {
    50: '#fcfbb5',
    500: '#f8fa94',
    950: '#000000',
  },
}
SCSS
$custom: #f8fa94;
$custom-light: #fcfbb5;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fa94",
  "rgb": {
    "r": 248,
    "g": 250,
    "b": 148
  },
  "hsl": {
    "h": 61.176,
    "s": 91.071,
    "l": 78.039
  },
  "oklch": {
    "l": 0.96192,
    "c": 0.12482,
    "h": 109.5
  },
  "luminance": 0.90466
}

Semantic roles & 50–950 ramp

primary
#F8FA94
secondary
#5B58DA
accent
#00E604
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #F8FA94

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

Preview Lab → · Contrast checker → · Palette generator →

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