#F9F579#F9F579

#F9F579 is a very light, vivid yellow. Relative luminance 0.868; OKLCH L 94.9% C 0.146 H 107.2°. Best body text is #000000 at 18.36:1 contrast (WCAG AA passes).

Color values

HEX#F9F579
RGBrgb(249, 245, 121)
HSLhsl(58, 91%, 73%)
HSVhsv(58, 51%, 98%)
CMYKcmyk(0%, 1.6%, 51.4%, 2.4%)
CIE-LABlab(94.66, -14.61, 59.39)
CIE-LCHlch(94.66, 61.16, 103.82°)
OKLaboklab(94.89% -0.0432 0.1395)
OKLCHoklch(94.89% 0.146 107.2)
XYZxyz(75.1725, 86.8271, 30.8849)
Luminance0.8682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F579 #797DF9
analogous
#F9B579 #F9F579 #BDF979
triadic
#F9F579 #79F9F5 #F579F9
tetradic
#F9F579 #79F9B5 #797DF9 #F979BD
square
#F9F579 #79F9B5 #797DF9 #F979BD
split-complementary
#F9F579 #79BDF9 #B579F9
monochromatic
#EDE60B #F6F13E #F9F579 #FCF9B4 #FEFDE2

Accessibility & contrast

On white

1.14
#F9F579 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.36
#F9F579 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F579
18.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F579#FFFFFF#000000##000000
##F9F5791.001.1418.3618.36
#FFFFFF1.141.0021.0021.00
#00000018.3621.001.001.00
##00000018.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED6D
Deuteranopia (green-blind)
#FFF27F
Tritanopia (blue-blind)
#FFE8D9
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f9f579;
/* rgb */ color: rgb(249, 245, 121);
/* oklch */ color: oklch(94.9% 0.146 107.2);
Tailwind
colors: {
  custom: {
    50: '#fef8a3',
    500: '#f9f579',
    950: '#000000',
  },
}
SCSS
$custom: #f9f579;
$custom-light: #fef8a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f579",
  "rgb": {
    "r": 249,
    "g": 245,
    "b": 121
  },
  "hsl": {
    "h": 58.125,
    "s": 91.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.94894,
    "c": 0.14599,
    "h": 107.2
  },
  "luminance": 0.86825
}

Semantic roles & 50–950 ramp

primary
#F9F579
secondary
#4146D5
accent
#07E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F9F579

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

Preview Lab → · Contrast checker → · Palette generator →

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