#F9FA71#F9FA71

#F9FA71 is a very light, vivid yellow. Relative luminance 0.897; OKLCH L 95.8% C 0.158 H 109.4°. Best body text is #000000 at 18.94:1 contrast (WCAG AA passes).

Color values

HEX#F9FA71
RGBrgb(249, 250, 113)
HSLhsl(60, 93%, 71%)
HSVhsv(60, 55%, 98%)
CMYKcmyk(0.4%, 0%, 54.8%, 2%)
CIE-LABlab(95.87, -17.66, 64.33)
CIE-LCHlch(95.87, 66.71, 105.35°)
OKLaboklab(95.83% -0.0527 0.1493)
OKLCHoklch(95.83% 0.158 109.4)
XYZxyz(76.2352, 89.7051, 28.9185)
Luminance0.8970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9FA71 #7271FA
analogous
#FAB671 #F9FA71 #B4FA71
triadic
#F9FA71 #71F9FA #FA71F9
tetradic
#F9FA71 #71FAB6 #7271FA #FA71B4
square
#F9FA71 #71FAB6 #7271FA #FA71B4
split-complementary
#F9FA71 #71B4FA #B671FA
monochromatic
#E7E808 #F7F836 #F9FA71 #FBFCAC #FEFEE1

Accessibility & contrast

On white

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

On black

18.94
#F9FA71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9FA71
18.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9FA71#FFFFFF#000000##000000
##F9FA711.001.1118.9418.94
#FFFFFF1.111.0021.0021.00
#00000018.9421.001.001.00
##00000018.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF163
Deuteranopia (green-blind)
#FFF579
Tritanopia (blue-blind)
#FFECDC
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f9fa71;
/* rgb */ color: rgb(249, 250, 113);
/* oklch */ color: oklch(95.8% 0.158 109.4);
Tailwind
colors: {
  custom: {
    50: '#fefb9e',
    500: '#f9fa71',
    950: '#000000',
  },
}
SCSS
$custom: #f9fa71;
$custom-light: #fefb9e;
$custom-dark: #000000;
JSON
{
  "hex": "#f9fa71",
  "rgb": {
    "r": 249,
    "g": 250,
    "b": 113
  },
  "hsl": {
    "h": 60.438,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.95832,
    "c": 0.15828,
    "h": 109.4
  },
  "luminance": 0.89703
}

Semantic roles & 50–950 ramp

primary
#F9FA71
secondary
#3B3AD5
accent
#00E602
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F9FA71

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

Preview Lab → · Contrast checker → · Palette generator →

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