#F9FA60#F9FA60

#F9FA60 is a very light, vivid yellow. Relative luminance 0.894; OKLCH L 95.7% C 0.172 H 109.6°. Best body text is #000000 at 18.87:1 contrast (WCAG AA passes).

Color values

HEX#F9FA60
RGBrgb(249, 250, 96)
HSLhsl(60, 94%, 68%)
HSVhsv(60, 62%, 98%)
CMYKcmyk(0.4%, 0%, 61.6%, 2%)
CIE-LABlab(95.73, -18.80, 71.25)
CIE-LCHlch(95.73, 73.69, 104.78°)
OKLaboklab(95.67% -0.0576 0.1619)
OKLCHoklch(95.67% 0.172 109.6)
XYZxyz(75.3662, 89.3575, 24.3417)
Luminance0.8935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9FA60 #6160FA
analogous
#FAAE60 #F9FA60 #ACFA60
triadic
#F9FA60 #60F9FA #FA60F9
tetradic
#F9FA60 #60FAAE #6160FA #FA60AC
square
#F9FA60 #60FAAE #6160FA #FA60AC
split-complementary
#F9FA60 #60ACFA #AE60FA
monochromatic
#D7D907 #F7F825 #F9FA60 #FBFC9B #FDFED7

Accessibility & contrast

On white

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

On black

18.87
#F9FA60 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9FA60
18.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9FA60#FFFFFF#000000##000000
##F9FA601.001.1118.8718.87
#FFFFFF1.111.0021.0021.00
#00000018.8721.001.001.00
##00000018.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF04D
Deuteranopia (green-blind)
#FFF56A
Tritanopia (blue-blind)
#FFEBDA
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f9fa60;
/* rgb */ color: rgb(249, 250, 96);
/* oklch */ color: oklch(95.7% 0.172 109.6);
Tailwind
colors: {
  custom: {
    50: '#fefb94',
    500: '#f9fa60',
    950: '#000000',
  },
}
SCSS
$custom: #f9fa60;
$custom-light: #fefb94;
$custom-dark: #000000;
JSON
{
  "hex": "#f9fa60",
  "rgb": {
    "r": 249,
    "g": 250,
    "b": 96
  },
  "hsl": {
    "h": 60.39,
    "s": 93.902,
    "l": 67.843
  },
  "oklch": {
    "l": 0.9567,
    "c": 0.17182,
    "h": 109.6
  },
  "luminance": 0.89355
}

Semantic roles & 50–950 ramp

primary
#F9FA60
secondary
#2D2CD3
accent
#00E601
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F9FA60

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

Preview Lab → · Contrast checker → · Palette generator →

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