#F9FA59#F9FA59

#F9FA59 is a very light, vivid yellow. Relative luminance 0.892; OKLCH L 95.6% C 0.177 H 109.7°. Best body text is #000000 at 18.85:1 contrast (WCAG AA passes).

Color values

HEX#F9FA59
RGBrgb(249, 250, 89)
HSLhsl(60, 94%, 66%)
HSVhsv(60, 64%, 98%)
CMYKcmyk(0.4%, 0%, 64.4%, 2%)
CIE-LABlab(95.68, -19.21, 73.92)
CIE-LCHlch(95.68, 76.38, 104.57°)
OKLaboklab(95.61% -0.0595 0.1665)
OKLCHoklch(95.61% 0.177 109.7)
XYZxyz(75.0581, 89.2343, 22.7194)
Luminance0.8923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9FA59 #5A59FA
analogous
#FAAB59 #F9FA59 #A9FA59
triadic
#F9FA59 #59F9FA #FA59F9
tetradic
#F9FA59 #59FAAB #5A59FA #FA59A9
square
#F9FA59 #59FAAB #5A59FA #FA59A9
split-complementary
#F9FA59 #59A9FA #AB59FA
monochromatic
#D1D206 #F7F81E #F9FA59 #FBFC94 #FDFED0

Accessibility & contrast

On white

1.11
#F9FA59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.85
#F9FA59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9FA59
18.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9FA59#FFFFFF#000000##000000
##F9FA591.001.1118.8518.85
#FFFFFF1.111.0021.0021.00
#00000018.8521.001.001.00
##00000018.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF043
Deuteranopia (green-blind)
#FFF564
Tritanopia (blue-blind)
#FFEBD9
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f9fa59;
/* rgb */ color: rgb(249, 250, 89);
/* oklch */ color: oklch(95.6% 0.177 109.7);
Tailwind
colors: {
  custom: {
    50: '#fffb90',
    500: '#f9fa59',
    950: '#000000',
  },
}
SCSS
$custom: #f9fa59;
$custom-light: #fffb90;
$custom-dark: #000000;
JSON
{
  "hex": "#f9fa59",
  "rgb": {
    "r": 249,
    "g": 250,
    "b": 89
  },
  "hsl": {
    "h": 60.373,
    "s": 94.152,
    "l": 66.471
  },
  "oklch": {
    "l": 0.95613,
    "c": 0.1768,
    "h": 109.7
  },
  "luminance": 0.89232
}

Semantic roles & 50–950 ramp

primary
#F9FA59
secondary
#2B2ACD
accent
#00E601
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F9FA59

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

Preview Lab → · Contrast checker → · Palette generator →

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