#F9FA70#F9FA70

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

Color values

HEX#F9FA70
RGBrgb(249, 250, 112)
HSLhsl(60, 93%, 71%)
HSVhsv(60, 55%, 98%)
CMYKcmyk(0.4%, 0%, 55.2%, 2%)
CIE-LABlab(95.86, -17.73, 64.75)
CIE-LCHlch(95.86, 67.13, 105.31°)
OKLaboklab(95.82% -0.053 0.1501)
OKLCHoklch(95.82% 0.159 109.4)
XYZxyz(76.1792, 89.6827, 28.6237)
Luminance0.8968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9FA70 #7170FA
analogous
#FAB670 #F9FA70 #B4FA70
triadic
#F9FA70 #70F9FA #FA70F9
tetradic
#F9FA70 #70FAB6 #7170FA #FA70B4
square
#F9FA70 #70FAB6 #7170FA #FA70B4
split-complementary
#F9FA70 #70B4FA #B670FA
monochromatic
#E6E808 #F7F835 #F9FA70 #FBFCAB #FEFEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F9FA70#FFFFFF#000000##000000
##F9FA701.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)
#FFF161
Deuteranopia (green-blind)
#FFF578
Tritanopia (blue-blind)
#FFECDC
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f9fa70;
/* rgb */ color: rgb(249, 250, 112);
/* oklch */ color: oklch(95.8% 0.159 109.4);
Tailwind
colors: {
  custom: {
    50: '#fefb9d',
    500: '#f9fa70',
    950: '#000000',
  },
}
SCSS
$custom: #f9fa70;
$custom-light: #fefb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f9fa70",
  "rgb": {
    "r": 249,
    "g": 250,
    "b": 112
  },
  "hsl": {
    "h": 60.435,
    "s": 93.243,
    "l": 70.98
  },
  "oklch": {
    "l": 0.95822,
    "c": 0.15913,
    "h": 109.4
  },
  "luminance": 0.89681
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F9FA70

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

Preview Lab → · Contrast checker → · Palette generator →

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