#F9FA55#F9FA55

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

Color values

HEX#F9FA55
RGBrgb(249, 250, 85)
HSLhsl(60, 94%, 66%)
HSVhsv(60, 66%, 98%)
CMYKcmyk(0.4%, 0%, 66%, 2%)
CIE-LABlab(95.65, -19.43, 75.39)
CIE-LCHlch(95.65, 77.86, 104.45°)
OKLaboklab(95.58% -0.0605 0.169)
OKLCHoklch(95.58% 0.179 109.7)
XYZxyz(74.8947, 89.1689, 21.8587)
Luminance0.8917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9FA55 #5655FA
analogous
#FAA955 #F9FA55 #A6FA55
triadic
#F9FA55 #55F9FA #FA55F9
tetradic
#F9FA55 #55FAA9 #5655FA #FA55A6
square
#F9FA55 #55FAA9 #5655FA #FA55A6
split-complementary
#F9FA55 #55A6FA #A955FA
monochromatic
#CDCF06 #F7F81A #F9FA55 #FBFC90 #FDFDCC

Accessibility & contrast

On white

1.12
#F9FA55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.83
#F9FA55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9FA55
18.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9FA55#FFFFFF#000000##000000
##F9FA551.001.1218.8318.83
#FFFFFF1.121.0021.0021.00
#00000018.8321.001.001.00
##00000018.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF03C
Deuteranopia (green-blind)
#FFF560
Tritanopia (blue-blind)
#FFEBD9
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f9fa55;
/* rgb */ color: rgb(249, 250, 85);
/* oklch */ color: oklch(95.6% 0.179 109.7);
Tailwind
colors: {
  custom: {
    50: '#fffb8d',
    500: '#f9fa55',
    950: '#000000',
  },
}
SCSS
$custom: #f9fa55;
$custom-light: #fffb8d;
$custom-dark: #000000;
JSON
{
  "hex": "#f9fa55",
  "rgb": {
    "r": 249,
    "g": 250,
    "b": 85
  },
  "hsl": {
    "h": 60.364,
    "s": 94.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.95582,
    "c": 0.17948,
    "h": 109.7
  },
  "luminance": 0.89167
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F9FA55

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

Preview Lab → · Contrast checker → · Palette generator →

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