#F9FA97#F9FA97

#F9FA97 is a very light, vivid yellow. Relative luminance 0.907; OKLCH L 96.3% C 0.122 H 109.0°. Best body text is #000000 at 19.15:1 contrast (WCAG AA passes).

Color values

HEX#F9FA97
RGBrgb(249, 250, 151)
HSLhsl(61, 91%, 79%)
HSVhsv(61, 40%, 98%)
CMYKcmyk(0.4%, 0%, 39.6%, 2%)
CIE-LABlab(96.31, -14.28, 47.31)
CIE-LCHlch(96.31, 49.42, 106.80°)
OKLaboklab(96.32% -0.0395 0.1149)
OKLCHoklch(96.32% 0.122 109)
XYZxyz(78.8396, 90.7469, 42.6349)
Luminance0.9074 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9FA97 #9897FA
analogous
#FAC997 #F9FA97 #C7FA97
triadic
#F9FA97 #97F9FA #FA97F9
tetradic
#F9FA97 #97FAC9 #9897FA #FA97C7
square
#F9FA97 #97FAC9 #9897FA #FA97C7
split-complementary
#F9FA97 #97C7FA #C997FA
monochromatic
#F2F422 #F6F75D #F9FA97 #FCFDD1 #FDFEE2

Accessibility & contrast

On white

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

On black

19.15
#F9FA97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9FA97
19.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9FA97#FFFFFF#000000##000000
##F9FA971.001.1019.1519.15
#FFFFFF1.101.0021.0021.00
#00000019.1521.001.001.00
##00000019.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF28F
Deuteranopia (green-blind)
#FFF69B
Tritanopia (blue-blind)
#FFEFE2
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #f9fa97;
/* rgb */ color: rgb(249, 250, 151);
/* oklch */ color: oklch(96.3% 0.122 109.0);
Tailwind
colors: {
  custom: {
    50: '#fdfbb7',
    500: '#f9fa97',
    950: '#000000',
  },
}
SCSS
$custom: #f9fa97;
$custom-light: #fdfbb7;
$custom-dark: #000000;
JSON
{
  "hex": "#f9fa97",
  "rgb": {
    "r": 249,
    "g": 250,
    "b": 151
  },
  "hsl": {
    "h": 60.606,
    "s": 90.826,
    "l": 78.627
  },
  "oklch": {
    "l": 0.96315,
    "c": 0.12152,
    "h": 109
  },
  "luminance": 0.90745
}

Semantic roles & 50–950 ramp

primary
#F9FA97
secondary
#5C5BDA
accent
#00E602
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #F9FA97

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

Preview Lab → · Contrast checker → · Palette generator →

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