#F9FA6F#F9FA6F

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

Color values

HEX#F9FA6F
RGBrgb(249, 250, 111)
HSLhsl(60, 93%, 71%)
HSVhsv(60, 56%, 98%)
CMYKcmyk(0.4%, 0%, 55.6%, 2%)
CIE-LABlab(95.86, -17.80, 65.17)
CIE-LCHlch(95.86, 67.56, 105.28°)
OKLaboklab(95.81% -0.0533 0.1508)
OKLCHoklch(95.81% 0.16 109.5)
XYZxyz(76.1238, 89.6606, 28.3321)
Luminance0.8966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9FA6F #706FFA
analogous
#FAB66F #F9FA6F #B3FA6F
triadic
#F9FA6F #6FF9FA #FA6FF9
tetradic
#F9FA6F #6FFAB6 #706FFA #FA6FB3
square
#F9FA6F #6FFAB6 #706FFA #FA6FB3
split-complementary
#F9FA6F #6FB3FA #B66FFA
monochromatic
#E5E708 #F7F834 #F9FA6F #FBFCAA #FEFEE1

Accessibility & contrast

On white

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

On black

18.93
#F9FA6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9FA6F
18.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9FA6F#FFFFFF#000000##000000
##F9FA6F1.001.1118.9318.93
#FFFFFF1.111.0021.0021.00
#00000018.9321.001.001.00
##00000018.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f9fa6f;
/* rgb */ color: rgb(249, 250, 111);
/* oklch */ color: oklch(95.8% 0.160 109.5);
Tailwind
colors: {
  custom: {
    50: '#fefb9d',
    500: '#f9fa6f',
    950: '#000000',
  },
}
SCSS
$custom: #f9fa6f;
$custom-light: #fefb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f9fa6f",
  "rgb": {
    "r": 249,
    "g": 250,
    "b": 111
  },
  "hsl": {
    "h": 60.432,
    "s": 93.289,
    "l": 70.784
  },
  "oklch": {
    "l": 0.95811,
    "c": 0.15997,
    "h": 109.5
  },
  "luminance": 0.89659
}

Semantic roles & 50–950 ramp

primary
#F9FA6F
secondary
#3938D5
accent
#00E602
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F9FA6F

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

Preview Lab → · Contrast checker → · Palette generator →

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