#F9F879#F9F879

#F9F879 is a very light, vivid yellow. Relative luminance 0.887; OKLCH L 95.5% C 0.149 H 108.5°. Best body text is #000000 at 18.73:1 contrast (WCAG AA passes).

Color values

HEX#F9F879
RGBrgb(249, 248, 121)
HSLhsl(60, 91%, 73%)
HSVhsv(60, 51%, 98%)
CMYKcmyk(0%, 0.4%, 51.4%, 2.4%)
CIE-LABlab(95.44, -16.07, 60.29)
CIE-LCHlch(95.44, 62.40, 104.93°)
OKLaboklab(95.51% -0.0473 0.1414)
OKLCHoklch(95.51% 0.149 108.5)
XYZxyz(76.0874, 88.6570, 31.1899)
Luminance0.8865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F879 #797AF9
analogous
#F9B879 #F9F879 #BAF979
triadic
#F9F879 #79F9F8 #F879F9
tetradic
#F9F879 #79F9B8 #797AF9 #F979BA
square
#F9F879 #79F9B8 #797AF9 #F979BA
split-complementary
#F9F879 #79BAF9 #B879F9
monochromatic
#EDEB0B #F6F53E #F9F879 #FCFBB4 #FEFDE2

Accessibility & contrast

On white

1.12
#F9F879 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.73
#F9F879 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F879
18.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F879#FFFFFF#000000##000000
##F9F8791.001.1218.7318.73
#FFFFFF1.121.0021.0021.00
#00000018.7321.001.001.00
##00000018.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF6D
Deuteranopia (green-blind)
#FFF480
Tritanopia (blue-blind)
#FFEBDB
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f9f879;
/* rgb */ color: rgb(249, 248, 121);
/* oklch */ color: oklch(95.5% 0.149 108.5);
Tailwind
colors: {
  custom: {
    50: '#fefaa3',
    500: '#f9f879',
    950: '#000000',
  },
}
SCSS
$custom: #f9f879;
$custom-light: #fefaa3;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f879",
  "rgb": {
    "r": 249,
    "g": 248,
    "b": 121
  },
  "hsl": {
    "h": 59.531,
    "s": 91.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.95509,
    "c": 0.14912,
    "h": 108.5
  },
  "luminance": 0.88655
}

Semantic roles & 50–950 ramp

primary
#F9F879
secondary
#4142D5
accent
#02E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F9F879

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

Preview Lab → · Contrast checker → · Palette generator →

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