#F9F97A#F9F97A

#F9F97A is a very light, vivid yellow. Relative luminance 0.893; OKLCH L 95.7% C 0.149 H 108.9°. Best body text is #000000 at 18.86:1 contrast (WCAG AA passes).

Color values

HEX#F9F97A
RGBrgb(249, 249, 122)
HSLhsl(60, 91%, 73%)
HSVhsv(60, 51%, 98%)
CMYKcmyk(0%, 0%, 51%, 2.4%)
CIE-LABlab(95.70, -16.48, 60.15)
CIE-LCHlch(95.70, 62.37, 105.32°)
OKLaboklab(95.73% -0.0484 0.1412)
OKLCHoklch(95.73% 0.149 108.9)
XYZxyz(76.4573, 89.2981, 31.6173)
Luminance0.8930 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F97A #7A7AF9
analogous
#F9B97A #F9F97A #B9F97A
triadic
#F9F97A #7AF9F9 #F97AF9
tetradic
#F9F97A #7AF9B9 #7A7AF9 #F97AB9
square
#F9F97A #7AF9B9 #7A7AF9 #F97AB9
split-complementary
#F9F97A #7AB9F9 #B97AF9
monochromatic
#EEEE0B #F6F63F #F9F97A #FCFCB5 #FEFEE2

Accessibility & contrast

On white

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

On black

18.86
#F9F97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F97A
18.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F97A#FFFFFF#000000##000000
##F9F97A1.001.1118.8618.86
#FFFFFF1.111.0021.0021.00
#00000018.8621.001.001.00
##00000018.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f9f97a;
/* rgb */ color: rgb(249, 249, 122);
/* oklch */ color: oklch(95.7% 0.149 108.9);
Tailwind
colors: {
  custom: {
    50: '#fefba4',
    500: '#f9f97a',
    950: '#000000',
  },
}
SCSS
$custom: #f9f97a;
$custom-light: #fefba4;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f97a",
  "rgb": {
    "r": 249,
    "g": 249,
    "b": 122
  },
  "hsl": {
    "h": 60,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.95726,
    "c": 0.14927,
    "h": 108.9
  },
  "luminance": 0.89296
}

Semantic roles & 50–950 ramp

primary
#F9F97A
secondary
#4242D5
accent
#00E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F9F97A

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

Preview Lab → · Contrast checker → · Palette generator →

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