#F9FA99#F9FA99

#F9FA99 is a very light, moderate yellow. Relative luminance 0.908; OKLCH L 96.3% C 0.119 H 109.0°. Best body text is #000000 at 19.16:1 contrast (WCAG AA passes).

Color values

HEX#F9FA99
RGBrgb(249, 250, 153)
HSLhsl(61, 91%, 79%)
HSVhsv(61, 39%, 98%)
CMYKcmyk(0.4%, 0%, 38.8%, 2%)
CIE-LABlab(96.33, -14.08, 46.38)
CIE-LCHlch(96.33, 48.47, 106.88°)
OKLaboklab(96.35% -0.0388 0.1129)
OKLCHoklch(96.35% 0.119 109)
XYZxyz(79.0034, 90.8124, 43.4976)
Luminance0.9081 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9FA99 #9A99FA
analogous
#FACB99 #F9FA99 #C9FA99
triadic
#F9FA99 #99F9FA #FA99F9
tetradic
#F9FA99 #99FACB #9A99FA #FA99C9
square
#F9FA99 #99FACB #9A99FA #FA99C9
split-complementary
#F9FA99 #99C9FA #CB99FA
monochromatic
#F2F424 #F6F75F #F9FA99 #FCFDD3 #FDFEE2

Accessibility & contrast

On white

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

On black

19.16
#F9FA99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9FA99
19.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9FA99#FFFFFF#000000##000000
##F9FA991.001.1019.1619.16
#FFFFFF1.101.0021.0021.00
#00000019.1621.001.001.00
##00000019.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f9fa99;
/* rgb */ color: rgb(249, 250, 153);
/* oklch */ color: oklch(96.3% 0.119 109.0);
Tailwind
colors: {
  custom: {
    50: '#fcfbb8',
    500: '#f9fa99',
    950: '#000000',
  },
}
SCSS
$custom: #f9fa99;
$custom-light: #fcfbb8;
$custom-dark: #000000;
JSON
{
  "hex": "#f9fa99",
  "rgb": {
    "r": 249,
    "g": 250,
    "b": 153
  },
  "hsl": {
    "h": 60.619,
    "s": 90.654,
    "l": 79.02
  },
  "oklch": {
    "l": 0.96346,
    "c": 0.11937,
    "h": 109
  },
  "luminance": 0.90811
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F9FA99

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

Preview Lab → · Contrast checker → · Palette generator →

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