#F9F17A#F9F17A

#F9F17A is a very light, vivid yellow. Relative luminance 0.845; OKLCH L 94.1% C 0.141 H 105.3°. Best body text is #000000 at 17.89:1 contrast (WCAG AA passes).

Color values

HEX#F9F17A
RGBrgb(249, 241, 122)
HSLhsl(56, 91%, 73%)
HSVhsv(56, 51%, 98%)
CMYKcmyk(0%, 3.2%, 51%, 2.4%)
CIE-LABlab(93.65, -12.57, 57.75)
CIE-LCHlch(93.65, 59.10, 102.28°)
OKLaboklab(94.09% -0.0372 0.136)
OKLCHoklch(94.09% 0.141 105.3)
XYZxyz(74.0371, 84.4577, 30.8105)
Luminance0.8446 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F17A #7A82F9
analogous
#F9B17A #F9F17A #C2F97A
triadic
#F9F17A #7AF9F1 #F17AF9
tetradic
#F9F17A #7AF9B1 #7A82F9 #F97AC2
square
#F9F17A #7AF9B1 #7A82F9 #F97AC2
split-complementary
#F9F17A #7AC2F9 #B17AF9
monochromatic
#EEE00B #F6EB3F #F9F17A #FCF7B5 #FEFCE2

Accessibility & contrast

On white

1.17
#F9F17A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.89
#F9F17A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F17A
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F17A#FFFFFF#000000##000000
##F9F17A1.001.1717.8917.89
#FFFFFF1.171.0021.0021.00
#00000017.8921.001.001.00
##00000017.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA6F
Deuteranopia (green-blind)
#FFEF80
Tritanopia (blue-blind)
#FFE4D6
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f9f17a;
/* rgb */ color: rgb(249, 241, 122);
/* oklch */ color: oklch(94.1% 0.141 105.3);
Tailwind
colors: {
  custom: {
    50: '#fdf5a3',
    500: '#f9f17a',
    950: '#000000',
  },
}
SCSS
$custom: #f9f17a;
$custom-light: #fdf5a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f17a",
  "rgb": {
    "r": 249,
    "g": 241,
    "b": 122
  },
  "hsl": {
    "h": 56.22,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.94089,
    "c": 0.14099,
    "h": 105.3
  },
  "luminance": 0.84455
}

Semantic roles & 50–950 ramp

primary
#F9F17A
secondary
#424BD5
accent
#0EE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F9F17A

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

Preview Lab → · Contrast checker → · Palette generator →

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