#F8FA95#F8FA95

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

Color values

HEX#F8FA95
RGBrgb(248, 250, 149)
HSLhsl(61, 91%, 78%)
HSVhsv(61, 40%, 98%)
CMYKcmyk(0.8%, 0%, 40.4%, 2%)
CIE-LABlab(96.20, -14.87, 48.13)
CIE-LCHlch(96.20, 50.38, 107.17°)
OKLaboklab(96.21% -0.0413 0.1167)
OKLCHoklch(96.21% 0.124 109.5)
XYZxyz(78.3230, 90.4991, 41.7701)
Luminance0.9050 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FA95 #9795FA
analogous
#FAC995 #F8FA95 #C5FA95
triadic
#F8FA95 #95F8FA #FA95F8
tetradic
#F8FA95 #95FAC9 #9795FA #FA95C5
square
#F8FA95 #95FAC9 #9795FA #FA95C5
split-complementary
#F8FA95 #95C5FA #C995FA
monochromatic
#F0F420 #F4F75B #F8FA95 #FCFDCF #FDFEE2

Accessibility & contrast

On white

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

On black

19.10
#F8FA95 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FA95
19.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FA95#FFFFFF#000000##000000
##F8FA951.001.1019.1019.10
#FFFFFF1.101.0021.0021.00
#00000019.1021.001.001.00
##00000019.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8fa95;
/* rgb */ color: rgb(248, 250, 149);
/* oklch */ color: oklch(96.2% 0.124 109.5);
Tailwind
colors: {
  custom: {
    50: '#fcfbb5',
    500: '#f8fa95',
    950: '#000000',
  },
}
SCSS
$custom: #f8fa95;
$custom-light: #fcfbb5;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fa95",
  "rgb": {
    "r": 248,
    "g": 250,
    "b": 149
  },
  "hsl": {
    "h": 61.188,
    "s": 90.991,
    "l": 78.235
  },
  "oklch": {
    "l": 0.96207,
    "c": 0.12376,
    "h": 109.5
  },
  "luminance": 0.90498
}

Semantic roles & 50–950 ramp

primary
#F8FA95
secondary
#5C59DA
accent
#00E605
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #F8FA95

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

Preview Lab → · Contrast checker → · Palette generator →

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