#F9F379#F9F379

#F9F379 is a very light, vivid yellow. Relative luminance 0.856; OKLCH L 94.5% C 0.144 H 106.3°. Best body text is #000000 at 18.12:1 contrast (WCAG AA passes).

Color values

HEX#F9F379
RGBrgb(249, 243, 121)
HSLhsl(57, 91%, 73%)
HSVhsv(57, 51%, 98%)
CMYKcmyk(0%, 2.4%, 51.4%, 2.4%)
CIE-LABlab(94.15, -13.63, 58.79)
CIE-LCHlch(94.15, 60.35, 103.06°)
OKLaboklab(94.49% -0.0404 0.1382)
OKLCHoklch(94.49% 0.144 106.3)
XYZxyz(74.5707, 85.6235, 30.6843)
Luminance0.8562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F379 #797FF9
analogous
#F9B379 #F9F379 #BFF979
triadic
#F9F379 #79F9F3 #F379F9
tetradic
#F9F379 #79F9B3 #797FF9 #F979BF
square
#F9F379 #79F9B3 #797FF9 #F979BF
split-complementary
#F9F379 #79BFF9 #B379F9
monochromatic
#EDE20B #F6EE3E #F9F379 #FCF8B4 #FEFCE2

Accessibility & contrast

On white

1.16
#F9F379 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.12
#F9F379 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F379
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F379#FFFFFF#000000##000000
##F9F3791.001.1618.1218.12
#FFFFFF1.161.0021.0021.00
#00000018.1221.001.001.00
##00000018.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB6D
Deuteranopia (green-blind)
#FFF17F
Tritanopia (blue-blind)
#FFE6D7
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f9f379;
/* rgb */ color: rgb(249, 243, 121);
/* oklch */ color: oklch(94.5% 0.144 106.3);
Tailwind
colors: {
  custom: {
    50: '#fef6a3',
    500: '#f9f379',
    950: '#000000',
  },
}
SCSS
$custom: #f9f379;
$custom-light: #fef6a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f379",
  "rgb": {
    "r": 249,
    "g": 243,
    "b": 121
  },
  "hsl": {
    "h": 57.188,
    "s": 91.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.94485,
    "c": 0.14394,
    "h": 106.3
  },
  "luminance": 0.85621
}

Semantic roles & 50–950 ramp

primary
#F9F379
secondary
#4148D5
accent
#0BE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F9F379

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

Preview Lab → · Contrast checker → · Palette generator →

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