#F8FA92#F8FA92

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

Color values

HEX#F8FA92
RGBrgb(248, 250, 146)
HSLhsl(61, 91%, 78%)
HSVhsv(61, 42%, 98%)
CMYKcmyk(0.8%, 0%, 41.6%, 2%)
CIE-LABlab(96.16, -15.18, 49.52)
CIE-LCHlch(96.16, 51.80, 107.04°)
OKLaboklab(96.16% -0.0424 0.1196)
OKLCHoklch(96.16% 0.127 109.5)
XYZxyz(78.0865, 90.4046, 40.5249)
Luminance0.9040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FA92 #9492FA
analogous
#FAC892 #F8FA92 #C4FA92
triadic
#F8FA92 #92F8FA #FA92F8
tetradic
#F8FA92 #92FAC8 #9492FA #FA92C4
square
#F8FA92 #92FAC8 #9492FA #FA92C4
split-complementary
#F8FA92 #92C4FA #C892FA
monochromatic
#F0F51D #F4F757 #F8FA92 #FCFDCD #FDFEE2

Accessibility & contrast

On white

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

On black

19.08
#F8FA92 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FA92
19.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FA92#FFFFFF#000000##000000
##F8FA921.001.1019.0819.08
#FFFFFF1.101.0021.0021.00
#00000019.0821.001.001.00
##00000019.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8fa92;
/* rgb */ color: rgb(248, 250, 146);
/* oklch */ color: oklch(96.2% 0.127 109.5);
Tailwind
colors: {
  custom: {
    50: '#fcfbb3',
    500: '#f8fa92',
    950: '#000000',
  },
}
SCSS
$custom: #f8fa92;
$custom-light: #fcfbb3;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fa92",
  "rgb": {
    "r": 248,
    "g": 250,
    "b": 146
  },
  "hsl": {
    "h": 61.154,
    "s": 91.228,
    "l": 77.647
  },
  "oklch": {
    "l": 0.96163,
    "c": 0.12692,
    "h": 109.5
  },
  "luminance": 0.90403
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8FA92

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

Preview Lab → · Contrast checker → · Palette generator →

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