#F9E879#F9E879

#F9E879 is a very light, vivid yellow. Relative luminance 0.792; OKLCH L 92.3% C 0.133 H 100.7°. Best body text is #000000 at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#F9E879
RGBrgb(249, 232, 121)
HSLhsl(52, 91%, 73%)
HSVhsv(52, 51%, 98%)
CMYKcmyk(0%, 6.8%, 51.4%, 2.4%)
CIE-LABlab(91.34, -8.20, 55.48)
CIE-LCHlch(91.34, 56.08, 98.41°)
OKLaboklab(92.25% -0.0248 0.131)
OKLCHoklch(92.25% 0.133 100.7)
XYZxyz(71.3769, 79.2360, 29.6197)
Luminance0.7923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E879 #798AF9
analogous
#F9A879 #F9E879 #CAF979
triadic
#F9E879 #79F9E8 #E879F9
tetradic
#F9E879 #79F9A8 #798AF9 #F979CA
square
#F9E879 #79F9A8 #798AF9 #F979CA
split-complementary
#F9E879 #79CAF9 #A879F9
monochromatic
#EDCF0B #F6DE3E #F9E879 #FCF2B4 #FEFAE2

Accessibility & contrast

On white

1.25
#F9E879 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.85
#F9E879 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E879
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E879#FFFFFF#000000##000000
##F9E8791.001.2516.8516.85
#FFFFFF1.251.0021.0021.00
#00000016.8521.001.001.00
##00000016.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE26F
Deuteranopia (green-blind)
#FFE97E
Tritanopia (blue-blind)
#FFDBCE
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f9e879;
/* rgb */ color: rgb(249, 232, 121);
/* oklch */ color: oklch(92.3% 0.133 100.7);
Tailwind
colors: {
  custom: {
    50: '#feefa2',
    500: '#f9e879',
    950: '#000000',
  },
}
SCSS
$custom: #f9e879;
$custom-light: #feefa2;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e879",
  "rgb": {
    "r": 249,
    "g": 232,
    "b": 121
  },
  "hsl": {
    "h": 52.031,
    "s": 91.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.92253,
    "c": 0.13329,
    "h": 100.7
  },
  "luminance": 0.79233
}

Semantic roles & 50–950 ramp

primary
#F9E879
secondary
#4155D5
accent
#1EE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #F9E879

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

Preview Lab → · Contrast checker → · Palette generator →

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