#F9E979#F9E979

#F9E979 is a very light, vivid yellow. Relative luminance 0.798; OKLCH L 92.5% C 0.134 H 101.3°. Best body text is #000000 at 16.96:1 contrast (WCAG AA passes).

Color values

HEX#F9E979
RGBrgb(249, 233, 121)
HSLhsl(53, 91%, 73%)
HSVhsv(53, 51%, 98%)
CMYKcmyk(0%, 6.4%, 51.4%, 2.4%)
CIE-LABlab(91.60, -8.70, 55.78)
CIE-LCHlch(91.60, 56.46, 98.86°)
OKLaboklab(92.46% -0.0262 0.1316)
OKLCHoklch(92.46% 0.134 101.3)
XYZxyz(71.6592, 79.8006, 29.7138)
Luminance0.7980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E979 #7989F9
analogous
#F9A979 #F9E979 #C9F979
triadic
#F9E979 #79F9E9 #E979F9
tetradic
#F9E979 #79F9A9 #7989F9 #F979C9
square
#F9E979 #79F9A9 #7989F9 #F979C9
split-complementary
#F9E979 #79C9F9 #A979F9
monochromatic
#EDD10B #F6DF3E #F9E979 #FCF3B4 #FEFAE2

Accessibility & contrast

On white

1.24
#F9E979 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.96
#F9E979 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E979
16.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E979#FFFFFF#000000##000000
##F9E9791.001.2416.9616.96
#FFFFFF1.241.0021.0021.00
#00000016.9621.001.001.00
##00000016.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE36F
Deuteranopia (green-blind)
#FFEA7E
Tritanopia (blue-blind)
#FFDCCF
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f9e979;
/* rgb */ color: rgb(249, 233, 121);
/* oklch */ color: oklch(92.5% 0.134 101.3);
Tailwind
colors: {
  custom: {
    50: '#feefa2',
    500: '#f9e979',
    950: '#000000',
  },
}
SCSS
$custom: #f9e979;
$custom-light: #feefa2;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e979",
  "rgb": {
    "r": 249,
    "g": 233,
    "b": 121
  },
  "hsl": {
    "h": 52.5,
    "s": 91.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.92455,
    "c": 0.1342,
    "h": 101.3
  },
  "luminance": 0.79798
}

Semantic roles & 50–950 ramp

primary
#F9E979
secondary
#4153D5
accent
#1DE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #F9E979

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

Preview Lab → · Contrast checker → · Palette generator →

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