#F9ED79#F9ED79

#F9ED79 is a very light, vivid yellow. Relative luminance 0.821; OKLCH L 93.3% C 0.138 H 103.4°. Best body text is #000000 at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#F9ED79
RGBrgb(249, 237, 121)
HSLhsl(54, 91%, 73%)
HSVhsv(54, 51%, 98%)
CMYKcmyk(0%, 4.8%, 51.4%, 2.4%)
CIE-LABlab(92.61, -10.68, 56.99)
CIE-LCHlch(92.61, 57.98, 100.62°)
OKLaboklab(93.26% -0.0319 0.1342)
OKLCHoklch(93.26% 0.138 103.4)
XYZxyz(72.8044, 82.0910, 30.0955)
Luminance0.8209 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9ED79 #7985F9
analogous
#F9AD79 #F9ED79 #C5F979
triadic
#F9ED79 #79F9ED #ED79F9
tetradic
#F9ED79 #79F9AD #7985F9 #F979C5
square
#F9ED79 #79F9AD #7985F9 #F979C5
split-complementary
#F9ED79 #79C5F9 #AD79F9
monochromatic
#EDD80B #F6E53E #F9ED79 #FCF5B4 #FEFBE2

Accessibility & contrast

On white

1.21
#F9ED79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.42
#F9ED79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9ED79
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9ED79#FFFFFF#000000##000000
##F9ED791.001.2117.4217.42
#FFFFFF1.211.0021.0021.00
#00000017.4221.001.001.00
##00000017.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE66E
Deuteranopia (green-blind)
#FFED7E
Tritanopia (blue-blind)
#FFE0D3
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f9ed79;
/* rgb */ color: rgb(249, 237, 121);
/* oklch */ color: oklch(93.3% 0.138 103.4);
Tailwind
colors: {
  custom: {
    50: '#fef2a2',
    500: '#f9ed79',
    950: '#000000',
  },
}
SCSS
$custom: #f9ed79;
$custom-light: #fef2a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f9ed79",
  "rgb": {
    "r": 249,
    "g": 237,
    "b": 121
  },
  "hsl": {
    "h": 54.375,
    "s": 91.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.93264,
    "c": 0.13799,
    "h": 103.4
  },
  "luminance": 0.82089
}

Semantic roles & 50–950 ramp

primary
#F9ED79
secondary
#414FD5
accent
#16E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #F9ED79

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

Preview Lab → · Contrast checker → · Palette generator →

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