#F9F479#F9F479

#F9F479 is a very light, vivid yellow. Relative luminance 0.862; OKLCH L 94.7% C 0.145 H 106.8°. Best body text is #000000 at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#F9F479
RGBrgb(249, 244, 121)
HSLhsl(58, 91%, 73%)
HSVhsv(58, 51%, 98%)
CMYKcmyk(0%, 2%, 51.4%, 2.4%)
CIE-LABlab(94.41, -14.12, 59.09)
CIE-LCHlch(94.41, 60.76, 103.44°)
OKLaboklab(94.69% -0.0418 0.1388)
OKLCHoklch(94.69% 0.145 106.8)
XYZxyz(74.8708, 86.2237, 30.7843)
Luminance0.8622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F479 #797EF9
analogous
#F9B479 #F9F479 #BEF979
triadic
#F9F479 #79F9F4 #F479F9
tetradic
#F9F479 #79F9B4 #797EF9 #F979BE
square
#F9F479 #79F9B4 #797EF9 #F979BE
split-complementary
#F9F479 #79BEF9 #B479F9
monochromatic
#EDE40B #F6EF3E #F9F479 #FCF9B4 #FEFDE2

Accessibility & contrast

On white

1.15
#F9F479 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.24
#F9F479 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F479
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F479#FFFFFF#000000##000000
##F9F4791.001.1518.2418.24
#FFFFFF1.151.0021.0021.00
#00000018.2421.001.001.00
##00000018.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6D
Deuteranopia (green-blind)
#FFF17F
Tritanopia (blue-blind)
#FFE7D8
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f9f479;
/* rgb */ color: rgb(249, 244, 121);
/* oklch */ color: oklch(94.7% 0.145 106.8);
Tailwind
colors: {
  custom: {
    50: '#fef7a3',
    500: '#f9f479',
    950: '#000000',
  },
}
SCSS
$custom: #f9f479;
$custom-light: #fef7a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f479",
  "rgb": {
    "r": 249,
    "g": 244,
    "b": 121
  },
  "hsl": {
    "h": 57.656,
    "s": 91.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.94689,
    "c": 0.14496,
    "h": 106.8
  },
  "luminance": 0.86222
}

Semantic roles & 50–950 ramp

primary
#F9F479
secondary
#4147D5
accent
#09E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F9F479

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

Preview Lab → · Contrast checker → · Palette generator →

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